TaskEventHandler Delegate

Definition

Represents the asynchronous task that is being processed by an instance of the EventHandlerTaskAsyncHelper class.

public delegate System::Threading::Tasks::Task ^ TaskEventHandler(System::Object ^ sender, EventArgs ^ e);
public delegate System.Threading.Tasks.Task TaskEventHandler(object sender, EventArgs e);
type TaskEventHandler = delegate of obj * EventArgs -> Task
Public Delegate Function TaskEventHandler(sender As Object, e As EventArgs) As Task 

Parameters

sender
Object

The source of the event.

e
EventArgs

The event data.

Return Value

The asynchronous task.

Extension Methods

GetMethodInfo(Delegate)

Gets an object that represents the method represented by the specified delegate.

Applies to