StopAcceptingBackgroundTasks()
Forbids the use of the EnqueueBackgroundTask(Func<CancellationToken, ValueTask>) method. This method is used for debugging purposes only.
Declaration
public void StopAcceptingBackgroundTasks()
Forbids the use of the EnqueueBackgroundTask(Func<CancellationToken, ValueTask>) method. This method is used for debugging purposes only.
public void StopAcceptingBackgroundTasks()