18 references to AsyncOperationManager
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\ClientBase.cs (1)
412AsyncOperation asyncOperation = AsyncOperationManager.CreateOperation(userState);
Microsoft.VisualBasic.Forms (6)
Microsoft\VisualBasic\ApplicationServices\WindowsFormsApplicationBase.vb (4)
176_appSynchronizationContext = AsyncOperationManager.SynchronizationContext 650AsyncOperationManager. 773AsyncOperationManager.SynchronizationContext = New WindowsFormsSynchronizationContext() 853AsyncOperationManager.SynchronizationContext = _appSynchronizationContext
Microsoft\VisualBasic\Devices\Network.Availability.vb (2)
78If AsyncOperationManager.SynchronizationContext IsNot Nothing Then 81_synchronizationContext = AsyncOperationManager.SynchronizationContext
netstandard (1)
netstandard.cs (1)
180[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.AsyncOperationManager))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
166[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.AsyncOperationManager))]
System.ComponentModel.EventBasedAsync (1)
System\ComponentModel\BackgroundWorker.cs (1)
127_asyncOperation = AsyncOperationManager.CreateOperation(null);
System.Net.Mail (1)
System\Net\Mail\SmtpClient.cs (1)
606_asyncOp = AsyncOperationManager.CreateOperation(userToken);
System.Net.Ping (1)
System\Net\NetworkInformation\Ping.cs (1)
530}, AsyncOperationManager.CreateOperation(userToken), CancellationToken.None, TaskContinuationOptions.DenyChildAttach, TaskScheduler.Default);
System.Net.WebClient (1)
System\Net\WebClient.cs (1)
132AsyncOperation asyncOp = AsyncOperationManager.CreateOperation(userToken);
System.Windows.Forms (5)
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
540_currentAsyncLoadOperation = AsyncOperationManager.CreateOperation(null);
System\Windows\Forms\WindowsFormsSynchronizationContext.cs (4)
140SynchronizationContext currentContext = AsyncOperationManager.SynchronizationContext; 147AsyncOperationManager.SynchronizationContext = new WindowsFormsSynchronizationContext(); 160if (AutoInstall && AsyncOperationManager.SynchronizationContext is WindowsFormsSynchronizationContext) 164AsyncOperationManager.SynchronizationContext = t_previousSyncContext is null