EventCallbackWorkItem.InvokeAsync(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.