ApplicationStoppingEventArgs(Func<Func<Task>,Task>) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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))