Making method ExecuteAsync virtual. (#16496)
Co-authored-by: Kvyatkovsky, Petr <pkvyatkovsky@qulix.com>
(cherry picked from commit 3a9ef3810b)
This commit is contained in:
committed by
Sebastiaan Janssen
parent
9d94658372
commit
bb1c36f591
@@ -129,7 +129,7 @@ public abstract class RecurringHostedServiceBase : IHostedService, IDisposable
|
||||
/// Executes the task.
|
||||
/// </summary>
|
||||
/// <param name="state">The task state.</param>
|
||||
public async void ExecuteAsync(object? state)
|
||||
public virtual async void ExecuteAsync(object? state)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user