Share via


EventCallbackWorkItem.InvokeAsync(Object) Method

Definition

Invokes the delegate associated with this EventCallbackWorkItem.

public:
 System::Threading::Tasks::Task ^ InvokeAsync(System::Object ^ arg);
public System.Threading.Tasks.Task InvokeAsync (object arg);
public System.Threading.Tasks.Task InvokeAsync (object? arg);
member this.InvokeAsync : obj -> System.Threading.Tasks.Task
Public Function InvokeAsync (arg As Object) As Task

Parameters

arg
Object

The argument to provide to the delegate. May be null.

Returns

A Task then will complete asynchronously once the delegate has completed.

Applies to