11 references to InvokeAsync
System.Windows.Forms (2)
System\Windows\Forms\Control_InvokeAsync.cs (2)
253/// For synchronous operations, use <see cref="InvokeAsync(Action, CancellationToken)"/> or 358/// For synchronous operations, use <see cref="InvokeAsync(Action, CancellationToken)"/> or
System.Windows.Forms.Tests (6)
System\Windows\Forms\ControlTests_InvokeAsync.cs (6)
35await control.InvokeAsync(UiAccessAction) 238await control.InvokeAsync( 304var blockingTask = control.InvokeAsync(() => Thread.Sleep(50)); 309var cancelledTask = control.InvokeAsync( 391control.InvokeAsync(() => { })).ConfigureAwait(false); 401control.InvokeAsync(() => throw new InvalidOperationException()))
System.Windows.Forms.UI.IntegrationTests (3)
DataGridViewTests.cs (1)
68await form2.InvokeAsync(() =>
ListControlUnboundActionListTests.cs (1)
30await form.InvokeAsync(new Action(() => form.Dispose())).ConfigureAwait(true);
ListViewTests.cs (1)
556await form.InvokeAsync(() =>