C# Class Common.Utilities.Extensions.TaskExtension

Class containing extension methods for the System.Threading.Tasks.Task class.
Mostra file Open project: microsoft/Dynamics365PSA

Public Methods

Method Description
DoNotAwait ( Task task ) : void

Supresses Warning CS4014 Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.

Method Details

DoNotAwait() public static method

Supresses Warning CS4014 Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
public static DoNotAwait ( Task task ) : void
task Task Task that is not "awaited".
return void