1 instantiation of AsyncOperation
System (1)
compmod\system\componentmodel\AsyncOperation.cs (1)
109AsyncOperation newOp = new AsyncOperation(userSuppliedState, syncContext);
77 references to AsyncOperation
System (47)
compmod\system\componentmodel\AsyncOperation.cs (2)
107internal static AsyncOperation CreateOperation(object userSuppliedState, SynchronizationContext syncContext) 109AsyncOperation newOp = new AsyncOperation(userSuppliedState, syncContext);
compmod\system\componentmodel\AsyncOperationManager.cs (2)
16public static AsyncOperation CreateOperation(object userSuppliedState) { 17return AsyncOperation.CreateOperation(userSuppliedState, SynchronizationContext);
compmod\system\componentmodel\BackgroundWorker.cs (1)
32private AsyncOperation asyncOperation = null;
net\System\Net\mail\SmtpClient.cs (2)
55AsyncOperation asyncOp = null; 849AsyncOperation asyncOp = client.asyncOp;
net\System\Net\NetworkInformation\ping.cs (2)
50AsyncOperation asyncOp = null; 212AsyncOperation asyncOp = null;
net\System\Net\webclient.cs (37)
1074internal AsyncOperation AsyncOp; 1080internal DownloadBitsState(WebRequest request, Stream writeStream, CompletionDelegate completionDelegate, AsyncOperation asyncOp, ProgressData progress, WebClient webClient) { 1282private byte[] DownloadBits(WebRequest request, Stream writeStream, CompletionDelegate completionDelegate, AsyncOperation asyncOp) { 1335internal AsyncOperation AsyncOp; 1342internal UploadBitsState(WebRequest request, Stream readStream, byte[] buffer, int chunkSize, byte[] header, byte[] footer, CompletionDelegate uploadCompletionDelegate, CompletionDelegate downloadCompletionDelegate, AsyncOperation asyncOp, ProgressData progress, WebClient webClient) { 1540private void UploadBits(WebRequest request, Stream readStream, byte[] buffer, int chunkSize, byte[] header, byte[] footer, CompletionDelegate uploadCompletionDelegate, CompletionDelegate downloadCompletionDelegate, AsyncOperation asyncOp) { 1761private AsyncOperation m_AsyncOp; 1763private void InvokeOperationCompleted(AsyncOperation asyncOp, SendOrPostCallback callback, AsyncCompletedEventArgs eventArgs) { 1764if ((object)Interlocked.CompareExchange<AsyncOperation>(ref m_AsyncOp, null, asyncOp) == (object) asyncOp) 1799AsyncOperation asyncOp = (AsyncOperation) lazyAsyncResult.AsyncState; 1835AsyncOperation asyncOp = AsyncOperationManager.CreateOperation(userToken); 1870AsyncOperation asyncOp = (AsyncOperation) lazyAsyncResult.AsyncState; 1916AsyncOperation asyncOp = AsyncOperationManager.CreateOperation(userToken); 1953AsyncOperation asyncOp = (AsyncOperation)state; 1985AsyncOperation asyncOp = AsyncOperationManager.CreateOperation(userToken); 2018AsyncOperation asyncOp = (AsyncOperation)state; 2039AsyncOperation asyncOp = AsyncOperationManager.CreateOperation(userToken); 2073AsyncOperation asyncOp = (AsyncOperation)state; 2097AsyncOperation asyncOp = AsyncOperationManager.CreateOperation(userToken); 2165AsyncOperation asyncOp = (AsyncOperation)state; 2209AsyncOperation asyncOp = AsyncOperationManager.CreateOperation(userToken); 2267AsyncOperation asyncOp = (AsyncOperation)state; 2300AsyncOperation asyncOp = AsyncOperationManager.CreateOperation(userToken); 2363AsyncOperation asyncOp = (AsyncOperation)state; 2401AsyncOperation asyncOp = AsyncOperationManager.CreateOperation(userToken); 2467AsyncOperation asyncOp = (AsyncOperation)state; 2499AsyncOperation asyncOp = AsyncOperationManager.CreateOperation(userToken); 2952private void PostProgressChanged(AsyncOperation asyncOp, ProgressData progress) {
sys\system\Media\SoundPlayer.cs (1)
49private AsyncOperation asyncOperation = null;
System.Net (14)
net\PeerToPeer\Collaboration\ContactManager.cs (4)
1473Dictionary<object, AsyncOperation> m_createContactAsyncList = new Dictionary<object, AsyncOperation>(); 1542AsyncOperation asyncOp = AsyncOperationManager.CreateOperation(userToken); 1609internal void PrepareToRaiseCreateContactCompletedEvent(AsyncOperation asyncOP, CreateContactCompletedEventArgs args)
net\PeerToPeer\Collaboration\Peer.cs (2)
860internal void PrepareToRaiseInviteCompletedEvent(AsyncOperation asyncOP, InviteCompletedEventArgs args) 989AsyncOperation m_AsyncOp;
net\PeerToPeer\Collaboration\PeerContact.cs (3)
503private AsyncOperation m_AsyncOp; 504internal AsyncOperation AsyncOp 591internal void PrepareToRaiseSubscribeCompletedEvent(AsyncOperation asyncOP, SubscribeCompletedEventArgs args)
net\PeerToPeer\Collaboration\PeerNearMe.cs (2)
409AsyncOperation m_refreshDataAsyncOp; 484internal void PrepareToRaiseRefreshDataCompletedEvent(AsyncOperation asyncOP, RefreshDataCompletedEventArgs args)
net\PeerToPeer\PeerNameResolver.cs (3)
147AsyncOperation m_AsyncOp; 844internal void PrepareToRaiseProgressChangedEvent(AsyncOperation asyncOP, ResolveProgressChangedEventArgs args) 860internal void PrepareToRaiseCompletedEvent(AsyncOperation asyncOP, ResolveCompletedEventArgs args)
System.ServiceModel (4)
System\ServiceModel\ClientBase.cs (4)
998AsyncOperation asyncOperation = AsyncOperationManager.CreateOperation(userState); 1069AsyncOperation asyncOperation; 1073internal AsyncOperationContext(AsyncOperation asyncOperation, EndOperationDelegate endDelegate, SendOrPostCallback completionCallback) 1080internal AsyncOperation AsyncOperation
System.ServiceModel.Discovery (2)
System\ServiceModel\Discovery\AsyncOperationContext.cs (2)
16AsyncOperation asyncOperation; 42public AsyncOperation AsyncOperation
System.Web.Services (8)
System\Web\Services\Protocols\ClientProtocol.cs (2)
901AsyncOperation asyncOp = (AsyncOperation)result.AsyncState;
System\Web\Services\Protocols\HttpClientProtocol.cs (3)
263AsyncOperation asyncOp = (AsyncOperation)result.AsyncState; 282AsyncOperation asyncOp = AsyncOperationManager.CreateOperation(new UserToken(callback, userState));
System\Web\Services\Protocols\SoapClientProtocol.cs (3)
417AsyncOperation asyncOp = (AsyncOperation)result.AsyncState; 438AsyncOperation asyncOp = AsyncOperationManager.CreateOperation(new UserToken(callback, userState));
System.Windows.Forms (2)
winforms\Managed\System\WinForms\PictureBox.cs (2)
65private AsyncOperation currentAsyncLoadOperation = null; 688AsyncOperation temp = currentAsyncLoadOperation;