OnBackgroundTaskEnqueued()
Method invoked by implementers when a background task is enqueued, so the WhenBackgroundTasksCompleted(CancellationToken) starts returning a pending task.
Declaration
protected void OnBackgroundTaskEnqueued()Method invoked by implementers when a background task is enqueued, so the WhenBackgroundTasksCompleted(CancellationToken) starts returning a pending task.
protected void OnBackgroundTaskEnqueued()