ComponentBase.InvokeAsync 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.
Overloads
InvokeAsync(Action) |
Executes the supplied work item on the associated renderer's synchronization context. |
InvokeAsync(Func<Task>) |
Executes the supplied work item on the associated renderer's synchronization context. |
InvokeAsync(Action)
- Source:
- ComponentBase.cs
- Source:
- ComponentBase.cs
- Source:
- ComponentBase.cs
- Source:
- ComponentBase.cs
- Source:
- ComponentBase.cs
- Source:
- ComponentBase.cs
- Source:
- ComponentBase.cs
Executes the supplied work item on the associated renderer's synchronization context.
protected:
System::Threading::Tasks::Task ^ InvokeAsync(Action ^ workItem);
protected System.Threading.Tasks.Task InvokeAsync (Action workItem);
member this.InvokeAsync : Action -> System.Threading.Tasks.Task
Protected Function InvokeAsync (workItem As Action) As Task
Parameters
- workItem
- Action
The work item to execute.
Returns
Applies to
InvokeAsync(Func<Task>)
- Source:
- ComponentBase.cs
- Source:
- ComponentBase.cs
- Source:
- ComponentBase.cs
- Source:
- ComponentBase.cs
- Source:
- ComponentBase.cs
- Source:
- ComponentBase.cs
- Source:
- ComponentBase.cs
Executes the supplied work item on the associated renderer's synchronization context.
protected:
System::Threading::Tasks::Task ^ InvokeAsync(Func<System::Threading::Tasks::Task ^> ^ workItem);
protected System.Threading.Tasks.Task InvokeAsync (Func<System.Threading.Tasks.Task> workItem);
member this.InvokeAsync : Func<System.Threading.Tasks.Task> -> System.Threading.Tasks.Task
Protected Function InvokeAsync (workItem As Func(Of Task)) As Task