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