Udostępnij za pośrednictwem


ApplicationStoppingEventArgs(Func<Func<Task>,Task>) Constructor

Definition

Initializes a new instance of the ApplicationStoppingEventArgs class with the specified runner of asynchronous methods.

public:
 ApplicationStoppingEventArgs(Func<Func<System::Threading::Tasks::Task ^> ^, System::Threading::Tasks::Task ^> ^ asyncMethodRunner);
public ApplicationStoppingEventArgs (Func<Func<System.Threading.Tasks.Task>,System.Threading.Tasks.Task> asyncMethodRunner);
new Microsoft.VisualStudio.ApplicationInsights.Extensibility.ApplicationStoppingEventArgs : Func<Func<System.Threading.Tasks.Task>, System.Threading.Tasks.Task> -> Microsoft.VisualStudio.ApplicationInsights.Extensibility.ApplicationStoppingEventArgs
Public Sub New (asyncMethodRunner As Func(Of Func(Of Task), Task))

Parameters

asyncMethodRunner
Func<Func<Task>,Task>

Applies to