Compartir a través de


AsyncEventHandler Delegate

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

Return Value

Type: System.Threading.Tasks.Task

See Also

Reference

Microsoft.VisualStudio.Threading Namespace