ApplicationStoppingEventArgs Constructor
Initializes a new instance of the ApplicationStoppingEventArgs class with the specified runner of asynchronous methods.
Namespace: Microsoft.ApplicationInsights.Extensibility
Assembly: Microsoft.ApplicationInsights (in Microsoft.ApplicationInsights.dll)
Usage
'Usage
Dim asyncTaskRunner As Action(Of Func(Of Task))
Dim instance As New ApplicationStoppingEventArgs(asyncTaskRunner)
Syntax
'Declaration
Public Sub New ( _
asyncTaskRunner As Action(Of Func(Of Task)) _
)
public ApplicationStoppingEventArgs (
Action<Func<Task>> asyncTaskRunner
)
public:
ApplicationStoppingEventArgs (
Action<Func<Task^>^>^ asyncTaskRunner
)
public ApplicationStoppingEventArgs (
Action<Func<Task>> asyncTaskRunner
)
public function ApplicationStoppingEventArgs (
asyncTaskRunner : Action<Func<Task>>
)
Remarks
Platforms
Development Platforms
Windows 8, Windows Server 2012
See Also
Reference
ApplicationStoppingEventArgs Class
ApplicationStoppingEventArgs Members
Microsoft.ApplicationInsights.Extensibility Namespace