10 references to InvokeAsync
System.Windows.Forms (2)
System\Windows\Forms\Control_InvokeAsync.cs (2)
29
/// <see cref="
InvokeAsync
(Func{CancellationToken, ValueTask}, CancellationToken)"/> or
148
/// <see cref="
InvokeAsync
(Func{CancellationToken, ValueTask}, CancellationToken)"/> or
System.Windows.Forms.Tests (8)
System\Windows\Forms\ControlTests_InvokeAsync.cs (8)
114
await control.
InvokeAsync
(UiAccessAsyncCallback)
157
await control.
InvokeAsync
(UiAccessAsyncCallback)
274
await control.
InvokeAsync
(
330
Task task = control.
InvokeAsync
(async ct =>
361
Task task = control.
InvokeAsync
(async ct =>
379
control.
InvokeAsync
(ct => default, CancellationToken.None)).ConfigureAwait(true);
409
control.
InvokeAsync
(ct => throw new InvalidOperationException()))
425
await control.
InvokeAsync
(async ct =>