Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
An asynchronous event handler.
Namespace: Microsoft.VisualStudio.Threading
Assembly: Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)
Syntax
'Declaration
Public Delegate Function AsyncEventHandler ( _
sender As Object, _
args As EventArgs _
) As Task
public delegate Task AsyncEventHandler(
Object sender,
EventArgs args
)
public delegate Task^ AsyncEventHandler(
Object^ sender,
EventArgs^ args
)
type AsyncEventHandler =
delegate of
sender:Object *
args:EventArgs -> Task
JScript does not support delegates.
Parameters
- sender
Type: System.Object
- args
Type: System.EventArgs
Return Value
Type: System.Threading.Tasks.Task