32 implementations of AsyncState
mscorlib (5)
system\io\filestream.cs (1)
184public Object AsyncState
system\io\stream.cs (1)
1029public Object AsyncState {
system\runtime\remoting\asyncresult.cs (1)
51public virtual Object AsyncState
system\threading\Tasks\Task.cs (1)
1610public object AsyncState
system\threading\Tasks\TaskToApm.cs (1)
186object IAsyncResult.AsyncState { get { return m_state; } }
PresentationFramework (1)
src\Framework\System\Windows\Documents\PageContentAsyncResult.cs (1)
93public object AsyncState
System (5)
net\System\Net\_LazyAsyncResult.cs (1)
116public object AsyncState {
net\System\Net\HttpListener.cs (1)
2691public object AsyncState {
services\io\system\io\FileSystemWatcher.cs (1)
98public Object AsyncState { get { throw new NotImplementedException(); } }
sys\System\IO\compression\DeflateStreamAsyncResult.cs (1)
37public object AsyncState {
sys\system\io\ports\SerialStream.cs (1)
1948public Object AsyncState
System.Core (2)
System\IO\Pipes\Pipe.cs (1)
1430public Object AsyncState {
System\IO\Pipes\PipeStream.cs (1)
1295public Object AsyncState {
System.Data.Services.Client (1)
System\Data\Services\Client\BaseAsyncResult.cs (1)
106public object AsyncState
System.IdentityModel (2)
System\IdentityModel\AsyncResult.cs (1)
217public object AsyncState
System\IdentityModel\Selectors\SecurityTokenProvider.cs (1)
194public object AsyncState
System.IO.Log (2)
System\IO\Log\FileRecordSequenceCompletedAsyncResult.cs (1)
61public Object AsyncState
System\IO\Log\OverlappedAsyncResult.cs (1)
64public Object AsyncState
System.Messaging (1)
System\Messaging\MessageQueue.cs (1)
3723public object AsyncState
System.Runtime.Remoting (2)
channels\core\basicasyncresult.cs (1)
42public Object AsyncState
channels\ipc\ipcport.cs (1)
346public Object AsyncState { get { throw new NotSupportedException();} }
System.ServiceModel (2)
System\ServiceModel\Channels\BufferedOutputAsyncStream.cs (1)
988public object AsyncState
System\ServiceModel\Channels\OverlappedContext.cs (1)
492object IAsyncResult.AsyncState
System.ServiceModel.Internals (1)
System\Runtime\AsyncResult.cs (1)
50public object AsyncState
System.Transactions (1)
System\Transactions\CommittableTransaction.cs (1)
241object IAsyncResult.AsyncState
System.Web (3)
Hosting\AsyncResultBase.cs (1)
100public Object AsyncState { get { return _asyncState; } }
HttpAsyncResult.cs (1)
138public Object AsyncState { get { return _asyncState;}}
TaskWrapperAsyncResult.cs (1)
27public object AsyncState {
System.Web.Services (2)
System\Web\Services\Protocols\ClientProtocol.cs (1)
567public object AsyncState { get { return userAsyncState; } }
System\Web\Services\Protocols\WebServiceHandler.cs (1)
440public object AsyncState { get { return asyncState; } }
System.Windows.Forms (1)
winforms\Managed\System\WinForms\Control.cs (1)
20077public Object AsyncState {
System.Workflow.Runtime (1)
System\Activities\Statements\Interop.cs (1)
1880public object AsyncState
613 references to AsyncState
mscorlib (4)
system\io\filestream.cs (1)
2793var writeTask = iar.AsyncState as FileStreamReadWriteTask<VoidTaskResult>;
system\threading\Tasks\BeginEndAwaitableAdapter.cs (2)
72Contract.Assert(asyncResult.AsyncState is BeginEndAwaitableAdapter); 75BeginEndAwaitableAdapter adapter = (BeginEndAwaitableAdapter) asyncResult.AsyncState;
system\threading\Tasks\FutureFactory.cs (1)
1396var promise = asyncResult.AsyncState as FromAsyncTrimPromise<TInstance>;
PresentationCore (2)
Core\CSharp\System\Windows\Media\Imaging\BitmapDownload.cs (2)
321QueueEntry entry = (QueueEntry)result.AsyncState; 355QueueEntry entry = (QueueEntry)result.AsyncState;
PresentationFramework (3)
src\Framework\System\Windows\Controls\SoundPlayerAction.cs (1)
211LoadStreamCaller caller = (LoadStreamCaller)asyncResult.AsyncState;
src\Framework\System\Windows\Navigation\NavigationService.cs (2)
3019Dispatcher callbackDispatcher = ((RequestState)ar.AsyncState).CallbackDispatcher; 3062RequestState requestState = (RequestState)ar.AsyncState;
SMSvcHost (3)
System\ServiceModel\Activation\MessageQueue.cs (1)
340ListenerSessionConnection session = (ListenerSessionConnection)result.AsyncState;
System\ServiceModel\Activation\WorkerProcess.cs (2)
375InstanceContext serviceInstance = asyncResult.AsyncState as InstanceContext; 443DispatchSessionAsyncResult thisPtr = (DispatchSessionAsyncResult)result.AsyncState;
System (92)
net\System\Net\_CommandStream.cs (2)
429ReceiveState state = (ReceiveState)asyncResult.AsyncState; 457CommandStream connection = (CommandStream)asyncResult.AsyncState;
net\System\Net\_Connection.cs (3)
3206((Connection) asyncResult.AsyncState).ReadCallback(asyncResult); 3740Connection conn = (Connection)((TunnelStateObject)result.AsyncState).Connection; 3741HttpWebRequest originalReq = (HttpWebRequest)((TunnelStateObject)result.AsyncState).OriginalRequest;
net\System\Net\_ConnectStream.cs (4)
1194LazyAsyncResult userResult = (LazyAsyncResult) asyncResult.AsyncState; 1870NestedSingleAsyncResult castedAsyncResult = (NestedSingleAsyncResult)asyncResult.AsyncState; 2103WriteHeadersCallbackState state = (WriteHeadersCallbackState)ar.AsyncState; 2468ResumeClose_Part2((LazyAsyncResult)ar.AsyncState);
net\System\Net\_FtpControlStream.cs (3)
120FtpControlStream connection = (FtpControlStream)asyncResult.AsyncState; 143FtpControlStream connection = (FtpControlStream)asyncResult.AsyncState; 161FtpControlStream connection = (FtpControlStream)asyncResult.AsyncState;
net\System\Net\_FtpDataStream.cs (1)
212LazyAsyncResult userResult = (LazyAsyncResult) ar.AsyncState;
net\System\Net\_StreamFramer.cs (8)
210GlobalLog.Assert(transportResult.AsyncState is WorkerAsyncResult, "StreamFramer::ReadFrameCallback|The state expected to be WorkerAsyncResult, received:{0}.", transportResult.GetType().FullName); 216WorkerAsyncResult workerResult = (WorkerAsyncResult) transportResult.AsyncState; 247GlobalLog.Assert(transportResult.AsyncState is WorkerAsyncResult, "StreamFramer::ReadFrameComplete|The state expected to be WorkerAsyncResult, received:{0}.", transportResult.GetType().FullName); 248WorkerAsyncResult workerResult = (WorkerAsyncResult) transportResult.AsyncState; 413GlobalLog.Assert(transportResult.AsyncState is WorkerAsyncResult, "StreamFramer::BeginWriteCallback|The state expected to be WorkerAsyncResult, received:{0}.", transportResult.AsyncState.GetType().FullName); 419WorkerAsyncResult workerResult = (WorkerAsyncResult) transportResult.AsyncState; 444WorkerAsyncResult workerResult = (WorkerAsyncResult)transportResult.AsyncState;
net\System\Net\_TLSstream.cs (3)
685if (((LazyAsyncResult) result.AsyncState).InternalPeekCompleted) 687((LazyAsyncResult) result.AsyncState).InvokeCallback(exception); 693BufferAsyncResult bufferResult = (BufferAsyncResult) result.AsyncState;
net\System\Net\Cache\_CacheStreams.cs (5)
171GlobalLog.Assert(transportResult.AsyncState is InnerAsyncResult, "InnerAsyncResult::ReadCallback|The state expected to be of type InnerAsyncResult, received {0}.", transportResult.GetType().FullName); 177InnerAsyncResult userResult = transportResult.AsyncState as InnerAsyncResult; 526GlobalLog.Assert(transportResult.AsyncState is InnerAsyncResult, "InnerAsyncResult::ReadCallback|The state expected to be of type InnerAsyncResult, received {0}.", transportResult.GetType().FullName); 533InnerAsyncResult userResult = transportResult.AsyncState as InnerAsyncResult; 543InnerAsyncResult userResult = transportResult.AsyncState as InnerAsyncResult;
net\System\Net\mail\Base64Stream.cs (2)
477ReadAsyncResult thisPtr = (ReadAsyncResult)result.AsyncState; 550WriteAsyncResult thisPtr = (WriteAsyncResult)result.AsyncState;
net\System\Net\mail\BaseWriter.cs (1)
184MultiAsyncResult multiResult = (MultiAsyncResult)result.AsyncState;
net\System\Net\mail\BufferedReadStream.cs (1)
260ReadAsyncResult thisPtr = (ReadAsyncResult)result.AsyncState;
net\System\Net\mail\Message.cs (1)
247EmptySendContext context = (EmptySendContext)result.AsyncState;
net\System\Net\mail\MimeMultiPart.cs (7)
50MimePartContext context = (MimePartContext)result.AsyncState; 74((MimePartContext)result.AsyncState).completedSynchronously = false; 85MimePartContext context = (MimePartContext)result.AsyncState; 96((MimePartContext)result.AsyncState).completedSynchronously = false; 108MimePartContext context = (MimePartContext)result.AsyncState; 135((MimePartContext)result.AsyncState).completedSynchronously = false; 147MimePartContext context = (MimePartContext)result.AsyncState;
net\System\Net\mail\MimePart.cs (7)
134MimePartContext context = (MimePartContext)result.AsyncState; 160((MimePartContext)result.AsyncState).completedSynchronously = false; 172MimePartContext context = (MimePartContext)result.AsyncState; 192((MimePartContext)result.AsyncState).completedSynchronously = false; 205MimePartContext context = (MimePartContext)result.AsyncState; 232MimePartContext context = (MimePartContext)result.AsyncState; 251((MimePartContext)result.AsyncState).completedSynchronously = false;
net\System\Net\mail\QEncodedStream.cs (1)
391WriteAsyncResult thisPtr = (WriteAsyncResult)result.AsyncState;
net\System\Net\mail\QuotedPrintableStream.cs (1)
423WriteAsyncResult thisPtr = (WriteAsyncResult)result.AsyncState;
net\System\Net\mail\SmtpClient.cs (4)
807ContextAwareResult operationCompletedResult = (ContextAwareResult)result.AsyncState; 847SmtpClient client = (SmtpClient)ar.AsyncState; 893ServerSupportsEai, new AsyncCallback(SendMessageCallback), result.AsyncState); 916new AsyncCallback(SendMailCallback), result.AsyncState);
net\System\Net\mail\SmtpCommands.cs (4)
58MultiAsyncResult multiResult = (MultiAsyncResult)result.AsyncState; 79MultiAsyncResult multiResult = (MultiAsyncResult)result.AsyncState; 145MultiAsyncResult multiResult = (MultiAsyncResult)result.AsyncState; 165MultiAsyncResult multiResult = (MultiAsyncResult)result.AsyncState;
net\System\Net\mail\smtpconnection.cs (6)
751ConnectAndHandshakeAsyncResult thisPtr = (ConnectAndHandshakeAsyncResult)result.AsyncState; 826ConnectAndHandshakeAsyncResult thisPtr = (ConnectAndHandshakeAsyncResult)result.AsyncState; 902ConnectAndHandshakeAsyncResult thisPtr = (ConnectAndHandshakeAsyncResult)result.AsyncState; 943ConnectAndHandshakeAsyncResult thisPtr = (ConnectAndHandshakeAsyncResult)result.AsyncState; 1026ConnectAndHandshakeAsyncResult thisPtr = (ConnectAndHandshakeAsyncResult)result.AsyncState; 1094ConnectAndHandshakeAsyncResult thisPtr = (ConnectAndHandshakeAsyncResult)result.AsyncState;
net\System\Net\mail\SmtpReplyReaderFactory.cs (1)
437ReadLinesAsyncResult thisPtr = (ReadLinesAsyncResult)result.AsyncState;
net\System\Net\mail\SmtpTransport.cs (3)
422SendMailAsyncResult thisPtr = (SendMailAsyncResult)result.AsyncState; 459SendMailAsyncResult thisPtr = (SendMailAsyncResult)result.AsyncState; 522SendMailAsyncResult thisPtr = (SendMailAsyncResult)result.AsyncState;
net\System\Net\SecureProtocols\_FixedSizeReader.cs (2)
136GlobalLog.Assert(transportResult.AsyncState is FixedSizeReader, "ReadCallback|State type is wrong, expected FixedSizeReader."); 142FixedSizeReader reader = (FixedSizeReader)transportResult.AsyncState;
net\System\Net\SecureProtocols\_NegoState.cs (4)
739GlobalLog.Assert(transportResult.AsyncState is LazyAsyncResult, "WriteCallback|State type is wrong, expected LazyAsyncResult."); 745LazyAsyncResult lazyResult = (LazyAsyncResult) transportResult.AsyncState; 775GlobalLog.Assert(transportResult.AsyncState is LazyAsyncResult, "ReadCallback|State type is wrong, expected LazyAsyncResult."); 781LazyAsyncResult lazyResult = (LazyAsyncResult) transportResult.AsyncState;
net\System\Net\SecureProtocols\_NegoStream.cs (2)
389GlobalLog.Assert(transportResult.AsyncState is AsyncProtocolRequest , "NegotiateSteam::WriteCallback|State type is wrong, expected AsyncProtocolRequest."); 391AsyncProtocolRequest asyncRequest = (AsyncProtocolRequest) transportResult.AsyncState;
net\System\Net\SecureProtocols\_SslState.cs (1)
1033asyncRequest = (AsyncProtocolRequest) transportResult.AsyncState;
net\System\Net\SecureProtocols\_SslStream.cs (4)
905GlobalLog.Assert(transportResult.AsyncState is AsyncProtocolRequest , "SslStream::WriteCallback|State type is wrong, expected AsyncProtocolRequest."); 906AsyncProtocolRequest asyncRequest = (AsyncProtocolRequest) transportResult.AsyncState; 939GlobalLog.Assert(transportResult.AsyncState is AsyncProtocolRequest, "SslStream::MulitpleWriteCallback|State type is wrong, expected AsyncProtocolRequest."); 941SplitWriteAsyncProtocolRequest asyncRequest = (SplitWriteAsyncProtocolRequest)transportResult.AsyncState;
net\System\Net\ServicePoint.cs (1)
1231ConnectSocketState state = (ConnectSocketState)asyncResult.AsyncState;
net\System\Net\Sockets\Socket.cs (2)
7041MultipleAddressConnectAsyncResult context = (MultipleAddressConnectAsyncResult) result.AsyncState; 7133MultipleAddressConnectAsyncResult context = (MultipleAddressConnectAsyncResult) result.AsyncState;
net\System\Net\webclient.cs (4)
1207DownloadBitsState state = (DownloadBitsState) result.AsyncState; 1237DownloadBitsState state = (DownloadBitsState) result.AsyncState; 1472UploadBitsState state = (UploadBitsState) result.AsyncState; 1501UploadBitsState state = (UploadBitsState) result.AsyncState;
net\System\Net\WebSockets\WebSocketConnectionStream.cs (2)
619Contract.Assert(asyncResult.AsyncState != null, "'asyncResult.AsyncState' MUST NOT be NULL."); 620WebSocketConnection connection = asyncResult.AsyncState as WebSocketConnection;
sys\System\IO\compression\DeflateStream.cs (2)
428DeflateStreamAsyncResult outerResult = (DeflateStreamAsyncResult) baseStreamResult.AsyncState; 675DeflateStreamAsyncResult outerResult = (DeflateStreamAsyncResult) asyncResult.AsyncState;
System.Activities (35)
System\Activities\AsyncCodeActivity.cs (3)
100if (!object.ReferenceEquals(result.AsyncState, asyncContext)) 133AsyncOperationContext asyncContext = result.AsyncState as AsyncOperationContext; 372if (!object.ReferenceEquals(result.AsyncState, asyncContext))
System\Activities\AsyncOperationContext.cs (1)
136ActivityExecutor executor = (ActivityExecutor)result.AsyncState;
System\Activities\Runtime\ActivityExecutor.cs (5)
3211ActivityExecutor executor = (ActivityExecutor)result.AsyncState; 4007CompleteTransactionWorkItem thisPtr = (CompleteTransactionWorkItem)result.AsyncState; 4099CompleteTransactionWorkItem thisPtr = (CompleteTransactionWorkItem)result.AsyncState; 4269TransactionalPersistAsyncResult thisPtr = (TransactionalPersistAsyncResult)result.AsyncState; 4473AssociateKeysAsyncResult thisPtr = (AssociateKeysAsyncResult)result.AsyncState;
System\Activities\Runtime\WorkItem.cs (2)
170CallbackData data = (CallbackData)result.AsyncState; 196CallbackData data = (CallbackData)result.AsyncState;
System\Activities\Statements\DurableTimerExtension.cs (1)
187BookmarkResumptionState state = (BookmarkResumptionState)result.AsyncState;
System\Activities\Statements\StateMachineExtension.cs (1)
59WorkflowInstanceProxy instance = result.AsyncState as WorkflowInstanceProxy;
System\Activities\Tracking\TrackingProvider.cs (1)
356FlushPendingRecordsAsyncResult thisPtr = (FlushPendingRecordsAsyncResult)result.AsyncState;
System\Activities\WorkflowApplication.cs (19)
359WorkflowEventData data = (WorkflowEventData)result.AsyncState; 955Exception reason = (Exception)result.AsyncState; 3278ResumeBookmarkAsyncResult thisPtr = (ResumeBookmarkAsyncResult)result.AsyncState; 3415ResumeBookmarkAsyncResult thisPtr = (ResumeBookmarkAsyncResult)result.AsyncState; 3605UnloadOrPersistAsyncResult thisPtr = (UnloadOrPersistAsyncResult)result.AsyncState; 3626UnloadOrPersistAsyncResult thisPtr = (UnloadOrPersistAsyncResult)result.AsyncState; 3680UnloadOrPersistAsyncResult thisPtr = (UnloadOrPersistAsyncResult)result.AsyncState; 3751UnloadOrPersistAsyncResult thisPtr = (UnloadOrPersistAsyncResult)result.AsyncState; 3814UnloadOrPersistAsyncResult thisPtr = (UnloadOrPersistAsyncResult)result.AsyncState; 3859UnloadOrPersistAsyncResult thisPtr = (UnloadOrPersistAsyncResult)result.AsyncState; 3888UnloadOrPersistAsyncResult thisPtr = (UnloadOrPersistAsyncResult)result.AsyncState; 4058SimpleOperationAsyncResult thisPtr = (SimpleOperationAsyncResult)result.AsyncState; 4256UnlockInstanceAsyncResult thisPtr = (UnlockInstanceAsyncResult)result.AsyncState; 4263UnlockInstanceAsyncResult thisPtr = (UnlockInstanceAsyncResult)result.AsyncState; 4495LoadAsyncResult thisPtr = (LoadAsyncResult)result.AsyncState; 4549LoadAsyncResult thisPtr = (LoadAsyncResult)result.AsyncState; 4630LoadAsyncResult thisPtr = (LoadAsyncResult)result.AsyncState; 4673LoadAsyncResult thisPtr = (LoadAsyncResult)result.AsyncState; 5354InstanceCommandWithTemporaryHandleAsyncResult thisPtr = (InstanceCommandWithTemporaryHandleAsyncResult)result.AsyncState;
System\Activities\WorkflowInvoker.cs (2)
386AsyncInvokeContext context = (AsyncInvokeContext)result.AsyncState; 434AsyncInvokeContext context = (AsyncInvokeContext)result.AsyncState;
System.Activities.DurableInstancing (7)
System\Activities\DurableInstancing\LoadRetryAsyncResult.cs (1)
82LoadRetryAsyncResult tryCommandAsyncResult = (LoadRetryAsyncResult)(result.AsyncState);
System\Activities\DurableInstancing\SqlCommandAsyncResult.cs (2)
96SqlCommandAsyncResult thisPtr = (SqlCommandAsyncResult)(result.AsyncState); 102SqlCommandAsyncResult parentPtr = (SqlCommandAsyncResult)(childPtr.AsyncState);
System\Activities\DurableInstancing\SqlWorkflowInstanceStore.cs (1)
681UnlockInstanceCommand = (UnlockInstanceCommand)(result.AsyncState),
System\Activities\DurableInstancing\SqlWorkflowInstanceStoreAsyncResult.cs (2)
173SqlWorkflowInstanceStoreAsyncResult thisPtr = (SqlWorkflowInstanceStoreAsyncResult)result.AsyncState; 187SqlWorkflowInstanceStoreAsyncResult thisPtr = (SqlWorkflowInstanceStoreAsyncResult)result.AsyncState;
System\Activities\DurableInstancing\TestVersionAndRunAsyncResult.cs (1)
123TestDatabaseVersionAndRunAsyncResult thisPtr = (TestDatabaseVersionAndRunAsyncResult)result.AsyncState;
System.Data.Services.Client (8)
System\Data\Services\Client\DataServiceContext.cs (5)
5709PerRequest pereq = asyncResult == null ? null : asyncResult.AsyncState as PerRequest; 5778PerRequest pereq = asyncResult == null ? null : asyncResult.AsyncState as PerRequest; 5858PerRequest pereq = asyncResult == null ? null : asyncResult.AsyncState as PerRequest; 5905PerRequest pereq = asyncResult == null ? null : asyncResult.AsyncState as PerRequest; 5991PerRequest pereq = asyncResult.AsyncState as PerRequest;
System\Data\Services\Client\GetReadStreamResult.cs (1)
170GetReadStreamResult state = asyncResult.AsyncState as GetReadStreamResult;
System\Data\Services\Client\QueryResult.cs (2)
544QueryResult state = asyncResult.AsyncState as QueryResult; 651QueryResult state = asyncResult.AsyncState as QueryResult;
System.IdentityModel (2)
System\IdentityModel\SecurityTokenService.cs (2)
798FederatedAsyncState state = result.AsyncState as FederatedAsyncState; 907FederatedAsyncState state = result.AsyncState as FederatedAsyncState;
System.Runtime.DurableInstancing (4)
System\Runtime\DurableInstancing\InstancePersistenceContext.cs (3)
1174ExecuteAsyncResult thisPtr = (ExecuteAsyncResult)result.AsyncState; 1364ExecuteAsyncResult thisPtr = (ExecuteAsyncResult)result.AsyncState; 1459ExecuteAsyncResult thisPtr = (ExecuteAsyncResult)result.AsyncState;
System\Runtime\PersistencePipeline.cs (1)
475int i = (int)result.AsyncState;
System.Runtime.Remoting (6)
channels\core\streamhelper.cs (2)
183AsyncCopyStreamResult state = (AsyncCopyStreamResult)iar.AsyncState; 214AsyncCopyStreamResult state = (AsyncCopyStreamResult)iar.AsyncState;
channels\http\httpclientchannel.cs (4)
1017AsyncHttpClientRequestState asyncRequestState = (AsyncHttpClientRequestState)iar.AsyncState; 1045AsyncHttpClientRequestState asyncRequestState = (AsyncHttpClientRequestState)iar.AsyncState; 1067AsyncHttpClientRequestState asyncRequestState = (AsyncHttpClientRequestState)iar.AsyncState; 1110AsyncHttpClientRequestState asyncRequestState = (AsyncHttpClientRequestState)iar.AsyncState;
System.Runtime.Serialization (13)
System\Xml\XmlBaseWriter.cs (1)
1465WriteBase64AsyncResult thisPtr = (WriteBase64AsyncResult)result.AsyncState;
System\Xml\XmlDictionaryWriter.cs (2)
399WriteValueFastAsyncResult thisPtr = (WriteValueFastAsyncResult)result.AsyncState; 680WriteValueAsyncResult thisPtr = (WriteValueAsyncResult)result.AsyncState;
System\Xml\XmlStreamNodeWriter.cs (6)
204XmlStreamNodeWriter thisPtr = (XmlStreamNodeWriter)result.AsyncState; 274GetBufferAsyncResult thisPtr = (GetBufferAsyncResult)result.AsyncState; 412WriteBytesAsyncResult thisPtr = (WriteBytesAsyncResult)result.AsyncState; 418WriteBytesAsyncResult thisPtr = (WriteBytesAsyncResult)result.AsyncState; 424WriteBytesAsyncResult thisPtr = (WriteBytesAsyncResult)result.AsyncState; 734FlushBufferAsyncResult thisPtr = (FlushBufferAsyncResult)result.AsyncState;
System\Xml\XmlUTF8TextWriter.cs (4)
1052WriteBase64TextAsyncResult thisPtr = (WriteBase64TextAsyncResult)result.AsyncState; 1058WriteBase64TextAsyncResult thisPtr = (WriteBase64TextAsyncResult)result.AsyncState; 1132InternalWriteBase64TextAsyncResult thisPtr = (InternalWriteBase64TextAsyncResult)result.AsyncState; 1206InternalWriteBase64TextAsyncResult thisPtr = (InternalWriteBase64TextAsyncResult)result.AsyncState;
System.ServiceModel (279)
System\ServiceModel\ChannelFactory.cs (2)
437OpenAsyncResult thisPtr = (OpenAsyncResult)result.AsyncState; 493CloseAsyncResult thisPtr = (CloseAsyncResult)result.AsyncState;
System\ServiceModel\Channels\BufferedOutputAsyncStream.cs (2)
748ByteBuffer buffer = (ByteBuffer)result.AsyncState; 867ByteBuffer thisPtr = (ByteBuffer)result.AsyncState;
System\ServiceModel\Channels\ChainedAsyncResult.cs (2)
57ChainedAsyncResult thisPtr = (ChainedAsyncResult)result.AsyncState; 101ChainedAsyncResult thisPtr = (ChainedAsyncResult)result.AsyncState;
System\ServiceModel\Channels\ChannelDemuxer.cs (17)
596((DatagramChannelDemuxer<TInnerChannel, TInnerItem>)result.AsyncState).OnReceiveComplete(result); 858OpenAsyncResult self = (OpenAsyncResult)result.AsyncState; 884OpenAsyncResult self = (OpenAsyncResult)result.AsyncState; 929OpenAsyncResult self = (OpenAsyncResult)result.AsyncState; 1051CloseAsyncResult self = (CloseAsyncResult)result.AsyncState; 1360RequestContext item = (RequestContext)result.AsyncState; 1975((SessionChannelDemuxer<TInnerChannel, TInnerItem>)result.AsyncState).OnStartAcceptingCallback(result); 2215= (SessionChannelDemuxer<TInnerChannel, TInnerItem>)result.AsyncState; 2472PeekAsyncResult peekAsyncResult = (PeekAsyncResult)result.AsyncState; 2507PeekAsyncResult peekAsyncResult = (PeekAsyncResult)result.AsyncState; 2654OpenAsyncResult self = (OpenAsyncResult)result.AsyncState; 2785ChannelAndMessageAsyncState channelAndMessage = (ChannelAndMessageAsyncState)result.AsyncState; 2985ChannelAndRequestAsyncState channelAndRequest = (ChannelAndRequestAsyncState)result.AsyncState; 3773ReplyChannelDemuxFailureAsyncResult self = (ReplyChannelDemuxFailureAsyncResult)(result.AsyncState); 3829ReplySessionDemuxFailureAsyncResult self = (ReplySessionDemuxFailureAsyncResult)result.AsyncState; 3906DuplexSessionDemuxFailureAsyncResult self = (DuplexSessionDemuxFailureAsyncResult)result.AsyncState; 3933DuplexSessionDemuxFailureAsyncResult self = (DuplexSessionDemuxFailureAsyncResult)result.AsyncState;
System\ServiceModel\Channels\ChannelPool.cs (1)
68TChannel item = (TChannel)result.AsyncState;
System\ServiceModel\Channels\ChannelReliableSession.cs (1)
1080OpenAsyncResult openResult = (OpenAsyncResult)result.AsyncState;
System\ServiceModel\Channels\CloseCollectionAsyncResult.cs (1)
88CallbackState callbackState = (CallbackState)result.AsyncState;
System\ServiceModel\Channels\CommunicationObject.cs (2)
1144OpenAsyncResult thisPtr = (OpenAsyncResult)result.AsyncState; 1218CloseAsyncResult thisPtr = (CloseAsyncResult)result.AsyncState;
System\ServiceModel\Channels\ConnectAlgorithms.cs (1)
189pendingConnectedNeighbor.Remove(GetEndpointUri((PeerNodeAddress)iar.AsyncState));
System\ServiceModel\Channels\Connection.cs (2)
762this.writeCallback(result.AsyncState); 876readCallback(result.AsyncState);
System\ServiceModel\Channels\ConnectionDemuxer.cs (2)
395ConnectionDemuxer thisPtr = (ConnectionDemuxer)result.AsyncState; 526CompleteSingletonPreambleAndDispatchRequestAsyncResult thisPtr = (CompleteSingletonPreambleAndDispatchRequestAsyncResult)result.AsyncState;
System\ServiceModel\Channels\ConnectionOrientedTransportChannelFactory.cs (2)
340OpenAsyncResult thisPtr = (OpenAsyncResult)result.AsyncState; 470CloseAsyncResult thisPtr = (CloseAsyncResult)result.AsyncState;
System\ServiceModel\Channels\ConnectionPool.cs (2)
1208EstablishConnectionAsyncResult thisPtr = (EstablishConnectionAsyncResult)result.AsyncState; 1242EstablishConnectionAsyncResult thisPtr = (EstablishConnectionAsyncResult)result.AsyncState;
System\ServiceModel\Channels\ContextChannelRequestContext.cs (2)
176ReplyAsyncResult thisPtr = (ReplyAsyncResult)result.AsyncState; 208ReplyAsyncResult thisPtr = (ReplyAsyncResult)result.AsyncState;
System\ServiceModel\Channels\ContextOutputChannelBase.cs (2)
168SendAsyncResult thisPtr = (SendAsyncResult)result.AsyncState; 200SendAsyncResult thisPtr = (SendAsyncResult)result.AsyncState;
System\ServiceModel\Channels\ContextRequestChannelBase.cs (2)
174RequestAsyncResult thisPtr = (RequestAsyncResult)result.AsyncState; 206RequestAsyncResult thisPtr = (RequestAsyncResult)result.AsyncState;
System\ServiceModel\Channels\DatagramAdapter.cs (8)
94((DatagramAdapterListenerBase<TChannel, TSessionChannel, ItemType>)result.AsyncState).AcceptCallback(result); 492((DatagramAdapterReceiver)result.AsyncState).FinishReceive(result); 1253IOutputSessionChannel channel = (IOutputSessionChannel)result.AsyncState; 1276IOutputSessionChannel channel = (IOutputSessionChannel)result.AsyncState; 1320IOutputSessionChannel channel = (IOutputSessionChannel)result.AsyncState; 1487IRequestSessionChannel channel = (IRequestSessionChannel)result.AsyncState; 1510IRequestSessionChannel channel = (IRequestSessionChannel)result.AsyncState; 1554IRequestSessionChannel channel = (IRequestSessionChannel)result.AsyncState;
System\ServiceModel\Channels\FramingChannels.cs (6)
697SendPreambleAsyncResult thisPtr = (SendPreambleAsyncResult)result.AsyncState; 730SendPreambleAsyncResult thisPtr = (SendPreambleAsyncResult)result.AsyncState; 763SendPreambleAsyncResult thisPtr = (SendPreambleAsyncResult)result.AsyncState; 908OpenAsyncResult thisPtr = (OpenAsyncResult)result.AsyncState; 1362InitiateUpgradeAsyncResult thisPtr = (InitiateUpgradeAsyncResult)result.AsyncState; 1417InitiateUpgradeAsyncResult thisPtr = (InitiateUpgradeAsyncResult)result.AsyncState;
System\ServiceModel\Channels\HttpChannelFactory.cs (6)
1492HttpChannelAsyncRequest thisPtr = (HttpChannelAsyncRequest)result.AsyncState; 1806HttpChannelAsyncRequest thisPtr = (HttpChannelAsyncRequest)result.AsyncState; 1832HttpChannelAsyncRequest thisPtr = (HttpChannelAsyncRequest)result.AsyncState; 1872HttpChannelAsyncRequest thisPtr = (HttpChannelAsyncRequest)result.AsyncState; 2063GetWebRequestAsyncResult thisPtr = (GetWebRequestAsyncResult)result.AsyncState; 2091GetWebRequestAsyncResult thisPtr = (GetWebRequestAsyncResult)result.AsyncState;
System\ServiceModel\Channels\HttpChannelHelpers.cs (6)
775ParseMessageAsyncResult thisPtr = (ParseMessageAsyncResult)result.AsyncState; 1742WriteStreamedMessageAsyncResult thisPtr = (WriteStreamedMessageAsyncResult)result.AsyncState; 2228SendAsyncResult thisPtr = (SendAsyncResult)result.AsyncState; 2271SendAsyncResult thisPtr = (SendAsyncResult)result.AsyncState; 2344SendAsyncResult thisPtr = (SendAsyncResult)result.AsyncState; 2777GetOutputStreamAsyncResult thisPtr = (GetOutputStreamAsyncResult)result.AsyncState;
System\ServiceModel\Channels\HttpChannelListener.cs (2)
1259HttpContextReceivedAsyncResult<TListenerChannel> thisPtr = (HttpContextReceivedAsyncResult<TListenerChannel>)result.AsyncState; 1444LifetimeWrappedCloseAsyncResult<TCommunicationObject> thisPtr = (LifetimeWrappedCloseAsyncResult<TCommunicationObject>)result.AsyncState;
System\ServiceModel\Channels\HttpPipeline.cs (1)
898EnqueueMessageAsyncResult thisPtr = (EnqueueMessageAsyncResult)result.AsyncState;
System\ServiceModel\Channels\HttpRequestContext.cs (2)
617ReplyAsyncResult thisPtr = (ReplyAsyncResult)result.AsyncState; 1097AcceptWebSocketAsyncResult thisPtr = (AcceptWebSocketAsyncResult)result.AsyncState;
System\ServiceModel\Channels\HttpsChannelFactory.cs (2)
483GetWebRequestAsyncResult thisPtr = (GetWebRequestAsyncResult)result.AsyncState; 508GetWebRequestAsyncResult thisPtr = (GetWebRequestAsyncResult)result.AsyncState;
System\ServiceModel\Channels\InitialServerConnectionReader.cs (1)
401UpgradeConnectionAsyncResult thisPtr = (UpgradeConnectionAsyncResult)result.AsyncState;
System\ServiceModel\Channels\InputChannel.cs (1)
220HelpReceiveAsyncResult thisPtr = (HelpReceiveAsyncResult)result.AsyncState;
System\ServiceModel\Channels\InternalDuplexChannelListener.cs (1)
341SendAsyncResult thisPtr = (SendAsyncResult)result.AsyncState;
System\ServiceModel\Channels\LayeredChannelListener.cs (2)
217OpenAsyncResult thisPtr = (OpenAsyncResult)result.AsyncState; 272CloseAsyncResult thisPtr = (CloseAsyncResult)result.AsyncState;
System\ServiceModel\Channels\Msmq4PoisonHandler.cs (1)
274Msmq4PoisonHandler handler = result.AsyncState as Msmq4PoisonHandler;
System\ServiceModel\Channels\MsmqReceiveHelper.cs (2)
399(result.AsyncState as TryNonTransactedReceiveAsyncResult).OnComplete(result); 453((WaitForMessageAsyncResult)result.AsyncState).OnComplete(result);
System\ServiceModel\Channels\OneWayChannelFactory.cs (3)
563IDuplexSessionChannel channel = (IDuplexSessionChannel)result.AsyncState; 757SendAsyncResult thisPtr = (SendAsyncResult)result.AsyncState; 792SendAsyncResult thisPtr = (SendAsyncResult)result.AsyncState;
System\ServiceModel\Channels\OneWayChannelListener.cs (5)
424ReceiveAsyncResultBase thisPtr = (ReceiveAsyncResultBase)result.AsyncState; 456ReceiveAsyncResultBase thisPtr = (ReceiveAsyncResultBase)result.AsyncState; 897DuplexSessionOneWayChannelListener thisPtr = (DuplexSessionOneWayChannelListener)result.AsyncState; 984IDuplexSessionChannel channel = (IDuplexSessionChannel)result.AsyncState; 1479ChannelReceiver thisPtr = (ChannelReceiver)result.AsyncState;
System\ServiceModel\Channels\OpenCollectionAsyncResult.cs (1)
51CallbackState callbackState = (CallbackState)result.AsyncState;
System\ServiceModel\Channels\PeerFlooder.cs (1)
953Message message = (Message)result.AsyncState;
System\ServiceModel\Channels\PeerNeighborManager.cs (1)
453InvokeAsyncNeighborClose((PeerNeighbor)result.AsyncState, PeerCloseReason.None,
System\ServiceModel\Channels\ReceiveContext.cs (2)
496AbandonAsyncResult thisPtr = (AbandonAsyncResult)result.AsyncState; 597CompleteAsyncResult thisPtr = (CompleteAsyncResult)result.AsyncState;
System\ServiceModel\Channels\ReliableChannelBinder.cs (14)
695TChannel channel = (TChannel)result.AsyncState; 2417AsyncWaiter waiter = (AsyncWaiter)result.AsyncState; 2470AsyncWaiter waiter = (AsyncWaiter)result.AsyncState; 2853CloseAsyncResult closeResult = (CloseAsyncResult)result.AsyncState; 2890CloseAsyncResult closeResult = (CloseAsyncResult)result.AsyncState; 3074(InputAsyncResult<TBinder>)result.AsyncState; 3130(InputAsyncResult<TBinder>)result.AsyncState; 3280ReplyAsyncResult thisPtr = (ReplyAsyncResult)result.AsyncState; 3420(OutputAsyncResult<TBinder>)result.AsyncState; 3462(OutputAsyncResult<TBinder>)result.AsyncState; 4050(CloseInputSessionChannelAsyncResult<TChannel, TItem>)result.AsyncState; 4075(CloseInputSessionChannelAsyncResult<TChannel, TItem>)result.AsyncState; 4106(CloseInputSessionChannelAsyncResult<TChannel, TItem>)result.AsyncState; 4233(CloseDuplexSessionChannelAsyncResult)result.AsyncState;
System\ServiceModel\Channels\ReliableChannelListener.cs (8)
414CloseAsyncResult closeResult = (CloseAsyncResult)result.AsyncState; 450CloseAsyncResult closeResult = (CloseAsyncResult)result.AsyncState; 533(OnReliableChannelCloseAsyncResult)result.AsyncState; 741(ReliableChannelListener<TChannel, TReliableChannel, TInnerChannel>)result.AsyncState; 954TInnerChannel channel = (TInnerChannel)result.AsyncState; 1137TInnerChannel channel = (TInnerChannel)result.AsyncState; 1383TInnerChannel channel = (TInnerChannel)result.AsyncState; 1509TInnerChannel channel = (TInnerChannel)result.AsyncState;
System\ServiceModel\Channels\ReliableDuplexSessionChannel.cs (3)
1175ReliableDuplexSessionChannel channel = (ReliableDuplexSessionChannel)(result.AsyncState); 1197ReliableDuplexSessionChannel channel = (ReliableDuplexSessionChannel)(result.AsyncState); 1614ClientReliableDuplexSessionChannel channel = (ClientReliableDuplexSessionChannel)result.AsyncState;
System\ServiceModel\Channels\ReliableInputSessionChannel.cs (2)
121ReliableInputSessionChannel channel = (ReliableInputSessionChannel)(result.AsyncState); 145ReliableInputSessionChannel channel = (ReliableInputSessionChannel)(result.AsyncState);
System\ServiceModel\Channels\ReliableMessagingHelpers.cs (13)
133((ComposedAsyncResult)(result.AsyncState)).OnOperationCompleted(result); 846IReliableChannelBinder binder = (IReliableChannelBinder)result.AsyncState; 878binder = (IReliableChannelBinder)result.AsyncState; 1165(ReliableChannelCloseAsyncResult)result.AsyncState; 1190(ReliableChannelCloseAsyncResult)result.AsyncState; 1324Exception completeException = (Exception)result.AsyncState; 1347(ReliableChannelOpenAsyncResult)result.AsyncState; 1377(ReliableChannelOpenAsyncResult)result.AsyncState; 1798RequestAsyncResult requestResult = (RequestAsyncResult)result.AsyncState; 1835RequestAsyncResult requestResult = (RequestAsyncResult)result.AsyncState; 2062SendReceiveAsyncResult sendReceiveResult = (SendReceiveAsyncResult)result.AsyncState; 2093SendReceiveAsyncResult sendReceiveResult = (SendReceiveAsyncResult)result.AsyncState; 2364ReliableOutputAsyncResult outputResult = (ReliableOutputAsyncResult)result.AsyncState;
System\ServiceModel\Channels\ReliableOutputConnection.cs (4)
439ReliableOutputConnection outputConnection = (ReliableOutputConnection)result.AsyncState; 460ReliableOutputConnection outputConnection = (ReliableOutputConnection)result.AsyncState; 682AddAsyncResult addResult = (AddAsyncResult)result.AsyncState; 794AddAsyncResult addResult = (AddAsyncResult)result.AsyncState;
System\ServiceModel\Channels\ReliableOutputSessionChannel.cs (1)
1038ReliableOutputSessionChannelOverDuplex channel = (ReliableOutputSessionChannelOverDuplex)result.AsyncState;
System\ServiceModel\Channels\ReliableReplySessionChannel.cs (3)
178ReliableReplySessionChannel channel = (ReliableReplySessionChannel)(result.AsyncState); 543ReliableReplySessionChannel channel = (ReliableReplySessionChannel)(result.AsyncState); 1695thisPtr = (ReplyAsyncResult)result.AsyncState;
System\ServiceModel\Channels\ReliableRequestSessionChannel.cs (1)
532ReliableRequestSessionChannel channel = (ReliableRequestSessionChannel)result.AsyncState;
System\ServiceModel\Channels\ReplyChannel.cs (1)
126HelpReceiveRequestAsyncResult thisPtr = (HelpReceiveRequestAsyncResult)result.AsyncState;
System\ServiceModel\Channels\SecurityChannelFactory.cs (2)
467OpenAsyncResult self = result.AsyncState as OpenAsyncResult; 516OpenAsyncResult self = result.AsyncState as OpenAsyncResult;
System\ServiceModel\Channels\SecurityChannelListener.cs (5)
565CloseSharedStateAsyncResult self = (CloseSharedStateAsyncResult)(result.AsyncState); 628OpenListenerStateAsyncResult self = (OpenListenerStateAsyncResult)(result.AsyncState); 872CloseSharedStateAsyncResult self = (CloseSharedStateAsyncResult)(result.AsyncState); 1598ReceiveItemAndVerifySecurityAsyncResult<TItem, UChannel> thisResult = (ReceiveItemAndVerifySecurityAsyncResult<TItem, UChannel>)result.AsyncState; 1738Exception e = (Exception)result.AsyncState;
System\ServiceModel\Channels\ServerReliableChannelBinder.cs (1)
386(ServerReliableChannelBinder<TChannel>)result.AsyncState;
System\ServiceModel\Channels\ServiceChannel.cs (3)
1938((SendAsyncResult)result.AsyncState).FinishEnsureInteractiveInit(result, false); 2002((SendAsyncResult)result.AsyncState).FinishEnsureOpen(result, false); 2086((SendAsyncResult)result.AsyncState).FinishSend(result, false);
System\ServiceModel\Channels\ServiceChannelProxy.cs (2)
258OperationContext.Current = asyncResult.AsyncState as OperationContext; 277OperationContext.Current = asyncResult.AsyncState as OperationContext;
System\ServiceModel\Channels\SessionConnectionReader.cs (2)
239ServerSessionPreambleConnectionReader thisPtr = (ServerSessionPreambleConnectionReader)result.AsyncState; 920OpenAsyncResult thisPtr = (OpenAsyncResult)result.AsyncState;
System\ServiceModel\Channels\SharedConnectionListener.cs (1)
945ValidateUriRouteAsyncResult thisPtr = (ValidateUriRouteAsyncResult)result.AsyncState;
System\ServiceModel\Channels\SharedHttpTransportManager.cs (4)
265eventTraceActivity = (EventTraceActivity)listenerContextResult.AsyncState; 399using (DiagnosticUtility.ShouldUseActivity ? (ActivityHolder)httpContextReceivedResult.AsyncState : null) 403((ActivityHolder)httpContextReceivedResult.AsyncState).context : 404(HttpRequestContext)httpContextReceivedResult.AsyncState).Listener;
System\ServiceModel\Channels\SingletonConnectionReader.cs (2)
210ServerSingletonPreambleConnectionReader thisPtr = (ServerSingletonPreambleConnectionReader)result.AsyncState; 766CompletePreambleAsyncResult thisPtr = (CompletePreambleAsyncResult)result.AsyncState;
System\ServiceModel\Channels\SocketConnection.cs (2)
264((SocketConnection)result.AsyncState).OnReceive(result); 1923ConnectAsyncResult thisPtr = (ConnectAsyncResult)result.AsyncState;
System\ServiceModel\Channels\StreamedFramingRequestChannel.cs (5)
433SendPreambleAsyncResult thisPtr = (SendPreambleAsyncResult)result.AsyncState; 466SendPreambleAsyncResult thisPtr = (SendPreambleAsyncResult)result.AsyncState; 756StreamedFramingAsyncRequest thisPtr = (StreamedFramingAsyncRequest)result.AsyncState; 798StreamedFramingAsyncRequest thisPtr = (StreamedFramingAsyncRequest)result.AsyncState; 835StreamedFramingAsyncRequest thisPtr = (StreamedFramingAsyncRequest)result.AsyncState;
System\ServiceModel\Channels\StreamSecurityUpgradeAcceptorAsyncResult.cs (1)
86(StreamSecurityUpgradeAcceptorAsyncResult)result.AsyncState;
System\ServiceModel\Channels\StreamSecurityUpgradeInitiatorAsyncResult.cs (1)
89(StreamSecurityUpgradeInitiatorAsyncResult)result.AsyncState;
System\ServiceModel\Channels\TextMessageEncoder.cs (1)
604WriteMessageAsyncResult thisPtr = (WriteMessageAsyncResult)result.AsyncState;
System\ServiceModel\Channels\TransactionChannelListener.cs (1)
660ReceiveTimeoutAsyncResult outerResult = (ReceiveTimeoutAsyncResult)result.AsyncState;
System\ServiceModel\Channels\TransportDuplexSessionChannel.cs (3)
735CloseAsyncResult thisPtr = (CloseAsyncResult)result.AsyncState; 767CloseAsyncResult thisPtr = (CloseAsyncResult)result.AsyncState; 1278TryReceiveAsyncResult thisPtr = (TryReceiveAsyncResult)result.AsyncState;
System\ServiceModel\Channels\TransportSecurityHelpers.cs (2)
602GetUserNameCredentialAsyncResult thisPtr = (GetUserNameCredentialAsyncResult)result.AsyncState; 696GetSspiCredentialAsyncResult thisPtr = (GetSspiCredentialAsyncResult)result.AsyncState;
System\ServiceModel\Channels\UtilityExtension.cs (2)
305if (result == null || result.AsyncState == null) 313AsyncUtilityState state = (AsyncUtilityState)result.AsyncState;
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (1)
465WebSocketTransportDuplexSessionChannel thisPtr = (WebSocketTransportDuplexSessionChannel)ar.AsyncState;
System\ServiceModel\ClientBase.cs (1)
1034AsyncOperationContext context = (AsyncOperationContext)result.AsyncState;
System\ServiceModel\Description\MetadataExchangeClient.cs (3)
938HttpWebRequest request = (HttpWebRequest)result.AsyncState; 1172IMetadataExchange metadataClient = (IMetadataExchange)result.AsyncState; 1303MetadataRetriever retriever = (MetadataRetriever)result.AsyncState;
System\ServiceModel\Dispatcher\BufferedReceiveBinder.cs (1)
228BufferedReceiveBinder binder = (BufferedReceiveBinder)result.AsyncState;
System\ServiceModel\Dispatcher\ChannelHandler.cs (3)
1064((ChannelHandler)result.AsyncState).AsyncMessagePump(result); 1071((ChannelHandler)result.AsyncState).AsyncMessagePump(result); 1431var state = (ContinuationState)result.AsyncState;
System\ServiceModel\Dispatcher\DispatchOperationRuntime.cs (1)
664IResumeMessageRpc resume = result.AsyncState as IResumeMessageRpc;
System\ServiceModel\Dispatcher\DuplexChannelBinder.cs (5)
627AsyncDuplexRequest duplexRequest = result.AsyncState as AsyncDuplexRequest; 750ReplyAsyncResult thisPtr = (ReplyAsyncResult)result.AsyncState; 1254AutoCloseDuplexSessionChannel thisPtr = (AutoCloseDuplexSessionChannel)result.AsyncState; 1264AutoCloseDuplexSessionChannel thisPtr = (AutoCloseDuplexSessionChannel)result.AsyncState; 1355((AutoCloseDuplexSessionChannel)result.AsyncState).OnCloseInnerChannel(result);
System\ServiceModel\Dispatcher\ImmutableClientRuntime.cs (1)
378DisplayInitializationUIAsyncResult outer = (DisplayInitializationUIAsyncResult)result.AsyncState;
System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (2)
737IResumeMessageRpc resume = result.AsyncState as IResumeMessageRpc; 754IResumeMessageRpc resume = result.AsyncState as IResumeMessageRpc;
System\ServiceModel\Dispatcher\InstanceContextManager.cs (2)
132InstanceContext instanceContext = (InstanceContext)result.AsyncState; 329CallbackState callbackState = (CallbackState)result.AsyncState;
System\ServiceModel\Dispatcher\ListenerHandler.cs (4)
245ListenerHandler listenerHandler = (ListenerHandler)result.AsyncState; 404ListenerHandler thisPtr = (ListenerHandler)result.AsyncState; 474CloseChannelState state = (CloseChannelState)result.AsyncState; 522CloseChannelState state = (CloseChannelState)result.AsyncState;
System\ServiceModel\Dispatcher\MessageRpc.cs (2)
338CallbackState callbackState = (CallbackState)result.AsyncState; 361CallbackState callbackState = (CallbackState)result.AsyncState;
System\ServiceModel\Dispatcher\MultipleReceiveBinder.cs (2)
123ReceiveScopeSignalGate thisPtr = nestedResult.AsyncState as ReceiveScopeSignalGate; 142return this.pendingResults.TrySignal((ReceiveScopeSignalGate)nestedResult.AsyncState, nestedResult);
System\ServiceModel\Dispatcher\OperationFormatter.cs (2)
407SerializeBodyContentsAsyncResult thisPtr = (SerializeBodyContentsAsyncResult)result.AsyncState; 758OnWriteBodyContentsAsyncResult thisPtr = (OnWriteBodyContentsAsyncResult)result.AsyncState;
System\ServiceModel\Dispatcher\ReceiveContextRPCFacet.cs (4)
161AcknowledgementCompleteCallbackState callbackState = (AcknowledgementCompleteCallbackState)result.AsyncState; 264AcknowledgementCompleteAsyncResult thisPtr = (AcknowledgementCompleteAsyncResult)result.AsyncState; 295AcknowledgementCompleteAsyncResult thisPtr = (AcknowledgementCompleteAsyncResult)result.AsyncState; 357CallbackState callbackState = (CallbackState)result.AsyncState;
System\ServiceModel\Dispatcher\StreamFormatter.cs (1)
112SerializeAsyncResult thisPtr = (SerializeAsyncResult)result.AsyncState;
System\ServiceModel\InstanceContext.cs (1)
665Fx.Assert(object.ReferenceEquals(this, result.AsyncState), "AsyncState should be this");
System\ServiceModel\Security\ApplySecurityAndSendAsyncResult.cs (1)
97ApplySecurityAndSendAsyncResult<MessageSenderType> self = result.AsyncState as ApplySecurityAndSendAsyncResult<MessageSenderType>;
System\ServiceModel\Security\InfocardInteractiveChannelInitializer.cs (1)
121GetTokenUIAsyncResult outer = (GetTokenUIAsyncResult)result.AsyncState;
System\ServiceModel\Security\IssuanceTokenProviderBase.cs (5)
815SecurityNegotiationAsyncResult self = (SecurityNegotiationAsyncResult)result.AsyncState; 873SecurityNegotiationAsyncResult self = (SecurityNegotiationAsyncResult)result.AsyncState; 924SecurityNegotiationAsyncResult self = (SecurityNegotiationAsyncResult)result.AsyncState; 1007SecurityNegotiationAsyncResult self = (SecurityNegotiationAsyncResult)result.AsyncState; 1088SecurityNegotiationAsyncResult self = (SecurityNegotiationAsyncResult)result.AsyncState;
System\ServiceModel\Security\MessageSecurityProtocol.cs (3)
745GetOneTokenAndSetUpSecurityAsyncResult self = result.AsyncState as GetOneTokenAndSetUpSecurityAsyncResult; 910GetTwoTokensAndSetUpSecurityAsyncResult self = result.AsyncState as GetTwoTokensAndSetUpSecurityAsyncResult; 947GetTwoTokensAndSetUpSecurityAsyncResult self = result.AsyncState as GetTwoTokensAndSetUpSecurityAsyncResult;
System\ServiceModel\Security\ReceiveMessageAndVerifySecurityAsyncResultBase.cs (1)
57ReceiveMessageAndVerifySecurityAsyncResultBase thisResult = (ReceiveMessageAndVerifySecurityAsyncResultBase)result.AsyncState;
System\ServiceModel\Security\SecurityProtocol.cs (1)
885GetSupportingTokensAsyncResult self = (GetSupportingTokensAsyncResult)result.AsyncState;
System\ServiceModel\Security\SecuritySessionClientSettings.cs (16)
1724CloseCoreAsyncResult self = (CloseCoreAsyncResult)(result.AsyncState); 1793CloseCoreAsyncResult self = (CloseCoreAsyncResult)(result.AsyncState); 1913ReceiveAsyncResult self = (ReceiveAsyncResult)result.AsyncState; 1970OpenAsyncResult thisAsyncResult = (OpenAsyncResult)result.AsyncState; 2022OpenAsyncResult thisAsyncResult = (OpenAsyncResult)result.AsyncState; 2117CloseSessionAsyncResult thisResult = (CloseSessionAsyncResult)result.AsyncState; 2192CloseSessionAsyncResult thisResult = (CloseSessionAsyncResult)result.AsyncState; 2287CloseAsyncResult thisResult = (CloseAsyncResult)result.AsyncState; 2378CloseAsyncResult self = (CloseAsyncResult)(result.AsyncState); 2451CloseAsyncResult self = (CloseAsyncResult)(result.AsyncState); 2596SecureSendAsyncResultBase thisResult = (SecureSendAsyncResultBase)result.AsyncState; 2673SecureSendAsyncResult thisResult = (SecureSendAsyncResult)result.AsyncState; 3000SecureRequestAsyncResult thisAsyncResult = (SecureRequestAsyncResult)result.AsyncState; 3060CloseOutputSessionAsyncResult thisAsyncResult = (CloseOutputSessionAsyncResult)result.AsyncState; 3102CloseOutputSessionAsyncResult thisAsyncResult = (CloseOutputSessionAsyncResult)result.AsyncState; 3336((ClientSecurityDuplexSessionChannel)result.AsyncState).CompleteReceive(result);
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (3)
893SessionOperationAsyncResult self = (SessionOperationAsyncResult)result.AsyncState; 965ChannelOpenAsyncResultWrapper wrapper = (ChannelOpenAsyncResultWrapper)result.AsyncState; 1033SessionOperationAsyncResult self = (SessionOperationAsyncResult)result.AsyncState;
System\ServiceModel\Security\SecuritySessionServerSettings.cs (16)
1093((SessionInitiationMessageHandler)result.AsyncState).ProcessMessage(result); 2266SendMessageAsyncResult self = (SendMessageAsyncResult)(result.AsyncState); 2362CloseCoreAsyncResult self = (CloseCoreAsyncResult)(result.AsyncState); 2449CloseCoreAsyncResult self = (CloseCoreAsyncResult)(result.AsyncState); 2807ReceiveRequestAsyncResult self = (ReceiveRequestAsyncResult)result.AsyncState; 3215CloseAsyncResult thisResult = (CloseAsyncResult)result.AsyncState; 3305CloseAsyncResult thisResult = (CloseAsyncResult)result.AsyncState; 3399CloseAsyncResult thisResult = (CloseAsyncResult)result.AsyncState; 3469CloseAsyncResult self = (CloseAsyncResult)(result.AsyncState); 4078CloseOutputSessionAsyncResult self = (CloseOutputSessionAsyncResult)(result.AsyncState); 4184CloseAsyncResult thisResult = (CloseAsyncResult)result.AsyncState; 4268CloseAsyncResult thisResult = (CloseAsyncResult)result.AsyncState; 4368CloseAsyncResult thisResult = (CloseAsyncResult)result.AsyncState; 4470CloseAsyncResult thisResult = (CloseAsyncResult)result.AsyncState; 4541CloseAsyncResult self = (CloseAsyncResult)(result.AsyncState); 4818SendFaultAsyncResult<TFaultContext> self = (SendFaultAsyncResult<TFaultContext>)result.AsyncState;
System\ServiceModel\Security\SecurityUtils.cs (2)
1688(OpenCommunicationObjectAsyncResult)result.AsyncState; 1763(CloseCommunicationObjectAsyncResult)result.AsyncState;
System\ServiceModel\Security\TlsnegoTokenProvider.cs (1)
258CreateSspiStateAsyncResult typedResult = (CreateSspiStateAsyncResult)result.AsyncState;
System\ServiceModel\ServiceHost.cs (6)
1272OpenAsyncResult thisPtr = (OpenAsyncResult)result.AsyncState; 1288OpenAsyncResult thisPtr = (OpenAsyncResult)result.AsyncState; 1361((CloseAsyncResult)result.AsyncState).FinishCloseListeners(result, false); 1436((CloseAsyncResult)result.AsyncState).FinishCloseInput(result, false); 1501((CloseAsyncResult)result.AsyncState).FinishCloseInstances(result, false); 1565((CloseAsyncResult)result.AsyncState).FinishCloseChannelDispatchers(result, false);
System.ServiceModel.Activation (7)
System\ServiceModel\Activation\CollectibleLRUCache.cs (1)
372CollectibleNode node = result.AsyncState as CollectibleNode;
System\ServiceModel\Activation\HostedHttpRequestAsyncResult.cs (1)
360((AutoResetEvent)result.AsyncState).Set();
System\ServiceModel\Activation\HostedHttpTransportManager.cs (5)
178using (DiagnosticUtility.ShouldUseActivity ? (ActivityHolder)httpContextReceivedResult.AsyncState : null) 182((ActivityHolder)httpContextReceivedResult.AsyncState).context : 183(HttpRequestContext)httpContextReceivedResult.AsyncState).Listener; 215((ActivityHolder)httpContextReceivedResult.AsyncState).context : 216httpContextReceivedResult.AsyncState);
System.ServiceModel.Activities (86)
System\ServiceModel\Activities\Dispatcher\BufferedReceiveManager.cs (1)
291ReceiveContext receiveContext = (ReceiveContext)result.AsyncState;
System\ServiceModel\Activities\Dispatcher\ControlOperationInvoker.cs (7)
478ControlOperationAsyncResult thisPtr = (ControlOperationAsyncResult)result.AsyncState; 668ControlOperationAsyncResult thisPtr = (ControlOperationAsyncResult)result.AsyncState; 766ControlOperationAsyncResult thisPtr = (ControlOperationAsyncResult)result.AsyncState; 939RunAndGetResponseAsyncResult thisPtr = (RunAndGetResponseAsyncResult)result.AsyncState; 953RunAndGetResponseAsyncResult thisPtr = (RunAndGetResponseAsyncResult)result.AsyncState; 967RunAndGetResponseAsyncResult thisPtr = (RunAndGetResponseAsyncResult)result.AsyncState; 1063ServiceOperationAsyncResult thisPtr = (ServiceOperationAsyncResult)result.AsyncState;
System\ServiceModel\Activities\Dispatcher\DurableInstanceManager.cs (13)
201DurableInstanceManager thisPtr = (DurableInstanceManager)result.AsyncState; 561OpenInstanceStoreAsyncResult thisPtr = (OpenInstanceStoreAsyncResult)result.AsyncState; 865CloseAsyncResult thisPtr = (CloseAsyncResult)result.AsyncState; 919CloseAsyncResult thisPtr = (CloseAsyncResult)result.AsyncState; 948CloseAsyncResult thisPtr = (CloseAsyncResult)result.AsyncState; 1078GetInstanceAsyncResult thisPtr = (GetInstanceAsyncResult)result.AsyncState; 1132GetInstanceAsyncResult thisPtr = (GetInstanceAsyncResult)result.AsyncState; 1228GetInstanceAsyncResult thisPtr = (GetInstanceAsyncResult)result.AsyncState; 1246GetInstanceAsyncResult thisPtr = (GetInstanceAsyncResult)result.AsyncState; 1284GetInstanceAsyncResult thisPtr = (GetInstanceAsyncResult)result.AsyncState; 1391WaitAndHandleStoreEventsAsyncResult thisPtr = (WaitAndHandleStoreEventsAsyncResult)result.AsyncState; 1430WaitAndHandleStoreEventsAsyncResult thisPtr = (WaitAndHandleStoreEventsAsyncResult)result.AsyncState; 1474WaitAndHandleStoreEventsAsyncResult thisPtr = (WaitAndHandleStoreEventsAsyncResult)result.AsyncState;
System\ServiceModel\Activities\Dispatcher\PersistenceContext.cs (7)
908SaveAsyncResult thisPtr = (SaveAsyncResult)result.AsyncState; 940SaveAsyncResult thisPtr = (SaveAsyncResult)result.AsyncState; 1065ReleaseAsyncResult thisPtr = (ReleaseAsyncResult)result.AsyncState; 1084ReleaseAsyncResult thisPtr = (ReleaseAsyncResult)result.AsyncState; 1207AssociateKeysAsyncResult thisPtr = (AssociateKeysAsyncResult)result.AsyncState; 1214AssociateKeysAsyncResult thisPtr = (AssociateKeysAsyncResult)result.AsyncState; 1403UpdateSuspendMetadataAsyncResult thisPtr = (UpdateSuspendMetadataAsyncResult)result.AsyncState;
System\ServiceModel\Activities\Dispatcher\PersistenceProviderDirectory.cs (4)
863LoadOrCreateAsyncResult thisPtr = (LoadOrCreateAsyncResult)result.AsyncState; 1020LoadOrCreateAsyncResult thisPtr = (LoadOrCreateAsyncResult)result.AsyncState; 1168LoadOrCreateAsyncResult thisPtr = (LoadOrCreateAsyncResult)result.AsyncState; 1194LoadOrCreateAsyncResult thisPtr = (LoadOrCreateAsyncResult)result.AsyncState;
System\ServiceModel\Activities\Dispatcher\TransactionContext.cs (2)
109PreparingEnlistment preparingEnlistment = (PreparingEnlistment)result.AsyncState; 162PrepareAsyncResult thisPtr = (PrepareAsyncResult)result.AsyncState;
System\ServiceModel\Activities\Dispatcher\WorkflowServiceInstance.cs (30)
1119bool isUpdateFailure = (bool)result.AsyncState; 1338WorkflowServiceInstance thisPtr = (WorkflowServiceInstance)result.AsyncState; 1370WorkflowServiceInstance thisPtr = (WorkflowServiceInstance)result.AsyncState; 1447UnhandledExceptionAsyncData data = (UnhandledExceptionAsyncData)result.AsyncState; 2204WorkflowServiceInstance thisPtr = (WorkflowServiceInstance)result.AsyncState; 2594ReleaseInstanceAsyncResult thisPtr = (ReleaseInstanceAsyncResult)result.AsyncState; 2717ReleaseInstanceAsyncResult thisPtr = (ReleaseInstanceAsyncResult)result.AsyncState; 2731ReleaseInstanceAsyncResult thisPtr = (ReleaseInstanceAsyncResult)result.AsyncState; 2934AssociateKeysAsyncResult thisPtr = (AssociateKeysAsyncResult)result.AsyncState; 2962AssociateKeysAsyncResult thisPtr = (AssociateKeysAsyncResult)result.AsyncState; 3061ResumeProtocolBookmarkAsyncResult thisPtr = (ResumeProtocolBookmarkAsyncResult)result.AsyncState; 3158ResumeProtocolBookmarkAsyncResult thisPtr = (ResumeProtocolBookmarkAsyncResult)result.AsyncState; 3246ResumeProtocolBookmarkAsyncResult thisPtr = (ResumeProtocolBookmarkAsyncResult)result.AsyncState; 3643UnloadOrPersistAsyncResult thisPtr = (UnloadOrPersistAsyncResult)result.AsyncState; 3705UnloadOrPersistAsyncResult thisPtr = (UnloadOrPersistAsyncResult)result.AsyncState; 3714UnloadOrPersistAsyncResult thisPtr = (UnloadOrPersistAsyncResult)result.AsyncState; 3746UnloadOrPersistAsyncResult thisPtr = (UnloadOrPersistAsyncResult)result.AsyncState; 3835UnloadOrPersistAsyncResult thisPtr = (UnloadOrPersistAsyncResult)result.AsyncState; 3904UnloadOrPersistAsyncResult thisPtr = (UnloadOrPersistAsyncResult)result.AsyncState; 3964UnloadOrPersistAsyncResult thisPtr = (UnloadOrPersistAsyncResult)result.AsyncState; 4019UnloadOrPersistAsyncResult thisPtr = (UnloadOrPersistAsyncResult)result.AsyncState; 4190SimpleOperationAsyncResult thisPtr = (SimpleOperationAsyncResult)result.AsyncState; 4223SimpleOperationAsyncResult thisPtr = (SimpleOperationAsyncResult)result.AsyncState; 4493AbandonAndSuspendAsyncResult data = (AbandonAndSuspendAsyncResult)result.AsyncState; 4693SuspendCoreAsyncResult thisPtr = (SuspendCoreAsyncResult)result.AsyncState; 5754UnloadInstancePolicyHelper thisPtr = (UnloadInstancePolicyHelper)result.AsyncState; 5847UnloadInstancePolicyHelper thisPtr = (UnloadInstancePolicyHelper)result.AsyncState; 5885UnloadInstancePolicyHelper thisPtr = (UnloadInstancePolicyHelper)result.AsyncState; 6003UnlockAndAbortAsyncResult thisPtr = (UnlockAndAbortAsyncResult)result.AsyncState; 6101UnhandledExceptionAsyncData data = (UnhandledExceptionAsyncData)result.AsyncState;
System\ServiceModel\Activities\InternalSendMessage.cs (5)
1681OpenChannelFactoryAsyncResult thisPtr = (OpenChannelFactoryAsyncResult)result.AsyncState; 1807OpenChannelAndSendMessageAsyncResult thisPtr = (OpenChannelAndSendMessageAsyncResult)result.AsyncState; 1904OpenChannelAndSendMessageAsyncResult thisPtr = (OpenChannelAndSendMessageAsyncResult)result.AsyncState; 1970OpenChannelAndSendMessageAsyncResult thisPtr = (OpenChannelAndSendMessageAsyncResult)result.AsyncState; 3000ICommunicationObject communicationObject = (ICommunicationObject)result.AsyncState;
System\ServiceModel\Activities\TransactedReceiveScope.cs (1)
294System.Transactions.CommittableTransaction committableTransaction = result.AsyncState as System.Transactions.CommittableTransaction;
System\ServiceModel\Activities\WorkflowControlClient.cs (5)
616CancelAsyncResult thisPtr = (CancelAsyncResult)result.AsyncState; 678RunAsyncResult thisPtr = (RunAsyncResult)result.AsyncState; 739SuspendAsyncResult thisPtr = (SuspendAsyncResult)result.AsyncState; 800UnsuspendAsyncResult thisPtr = (UnsuspendAsyncResult)result.AsyncState; 860TerminateAsyncResult thisPtr = (TerminateAsyncResult)result.AsyncState;
System\ServiceModel\Activities\WorkflowOperationContext.cs (3)
608WorkflowOperationContext thisPtr = (WorkflowOperationContext)result.AsyncState; 661WorkflowOperationContext thisPtr = (WorkflowOperationContext)result.AsyncState; 869ReceiveContextAsyncResult thisPtr = (ReceiveContextAsyncResult)result.AsyncState;
System\ServiceModel\Activities\WorkflowServiceHost.cs (2)
809CloseAsyncResult thisPtr = (CloseAsyncResult)result.AsyncState; 819CloseAsyncResult thisPtr = (CloseAsyncResult)result.AsyncState;
System\ServiceModel\Activities\WorkflowUpdateableControlClient.cs (6)
688CancelAsyncResult thisPtr = (CancelAsyncResult)result.AsyncState; 750RunAsyncResult thisPtr = (RunAsyncResult)result.AsyncState; 811SuspendAsyncResult thisPtr = (SuspendAsyncResult)result.AsyncState; 872UnsuspendAsyncResult thisPtr = (UnsuspendAsyncResult)result.AsyncState; 932TerminateAsyncResult thisPtr = (TerminateAsyncResult)result.AsyncState; 993UpdateAsyncResult thisPtr = (UpdateAsyncResult)result.AsyncState;
System.ServiceModel.Channels (11)
System\ServiceModel\Channels\ByteStreamMessage.cs (2)
411OnWriteMessageAsyncResult thisPtr = (OnWriteMessageAsyncResult)result.AsyncState; 563WriteBodyContentsAsyncResult thisPtr = (WriteBodyContentsAsyncResult)result.AsyncState;
System\ServiceModel\Channels\ByteStreamMessageEncoder.cs (1)
350WriteMessageAsyncResult thisPtr = (WriteMessageAsyncResult)result.AsyncState;
System\ServiceModel\Channels\UdpChannelBase.cs (2)
458CloseAsyncResult<T> thisPtr = (CloseAsyncResult<T>)result.AsyncState; 469CloseAsyncResult<T> thisPtr = (CloseAsyncResult<T>)result.AsyncState;
System\ServiceModel\Channels\UdpOutputChannel.cs (1)
723SendAsyncResult thisPtr = (SendAsyncResult)result.AsyncState;
System\ServiceModel\Channels\UdpReplyChannel.cs (1)
227HelpReceiveRequestAsyncResult thisPtr = (HelpReceiveRequestAsyncResult)result.AsyncState;
System\ServiceModel\Channels\UdpSocket.cs (2)
323SendToAsyncResult thisPtr = (SendToAsyncResult)result.AsyncState; 437ReceiveFromAsyncResult asyncResult = (ReceiveFromAsyncResult)result.AsyncState;
System\ServiceModel\Channels\UdpSocketReceiveManager.cs (1)
199UdpSocketReceiveState state = (UdpSocketReceiveState)result.AsyncState;
System\ServiceModel\Channels\XmlByteStreamWriter.cs (1)
164WriteBase64AsyncResult thisPtr = (WriteBase64AsyncResult)result.AsyncState;
System.ServiceModel.Discovery (19)
System\ServiceModel\Discovery\ByeOperationAsyncResult.cs (1)
57ByeOperationAsyncResult<TMessage> thisPtr = (ByeOperationAsyncResult<TMessage>)result.AsyncState;
System\ServiceModel\Discovery\DiscoveryClient.cs (4)
945AsyncOperationContext context = (AsyncOperationContext)result.AsyncState; 1036AsyncOperationContext context = (AsyncOperationContext)result.AsyncState; 1229CloseAsyncResult thisPtr = (CloseAsyncResult)result.AsyncState; 1266CloseAsyncResult thisPtr = (CloseAsyncResult)result.AsyncState;
System\ServiceModel\Discovery\HelloOperationAsyncResult.cs (1)
57HelloOperationAsyncResult<TMessage> thisPtr = (HelloOperationAsyncResult<TMessage>)result.AsyncState;
System\ServiceModel\Discovery\IteratorAsyncResult.cs (1)
205AsyncStep step = (AsyncStep)result.AsyncState;
System\ServiceModel\Discovery\ProbeDuplexAsyncResult.cs (3)
116(ProbeDuplexAsyncResult<TProbeMessage, TResponseChannel>)result.AsyncState; 143(ProbeDuplexAsyncResult<TProbeMessage, TResponseChannel>)result.AsyncState; 153(ProbeDuplexAsyncResult<TProbeMessage, TResponseChannel>)result.AsyncState;
System\ServiceModel\Discovery\ProbeRequestResponseAsyncResult.cs (1)
81(ProbeRequestResponseAsyncResult<TProbeMessage, TResponseMessage>)result.AsyncState;
System\ServiceModel\Discovery\ResolveDuplexAsyncResult.cs (3)
109(ResolveDuplexAsyncResult<TResolveMessage, TResponseChannel>)result.AsyncState; 130(ResolveDuplexAsyncResult<TResolveMessage, TResponseChannel>)result.AsyncState; 140(ResolveDuplexAsyncResult<TResolveMessage, TResponseChannel>)result.AsyncState;
System\ServiceModel\Discovery\ResolveRequestResponseAsyncResult.cs (1)
84(ResolveRequestResponseAsyncResult<TResolveMessage, TResponseMessage>)result.AsyncState;
System\ServiceModel\Discovery\Version11\DiscoveryInnerClientManaged11.cs (2)
90AsyncOperationContext context = (AsyncOperationContext)result.AsyncState; 108AsyncOperationContext context = (AsyncOperationContext)result.AsyncState;
System\ServiceModel\Discovery\VersionCD1\DiscoveryInnerClientManagedCD1.cs (2)
90AsyncOperationContext context = (AsyncOperationContext)result.AsyncState; 108AsyncOperationContext context = (AsyncOperationContext)result.AsyncState;
System.ServiceModel.Internals (1)
System\Runtime\AsyncResult.cs (1)
219AsyncResult thisPtr = (AsyncResult)result.AsyncState;
System.ServiceModel.Routing (10)
System\ServiceModel\Routing\ClientFactory.cs (3)
248OperationAsyncResult thisPtr = (OperationAsyncResult)openResult.AsyncState; 293OperationAsyncResult thisPtr = (OperationAsyncResult)result.AsyncState; 458CallbackAsyncResult thisPtr = (CallbackAsyncResult)result.AsyncState;
System\ServiceModel\Routing\ProcessMessagesAsyncResult.cs (4)
244ProcessMessagesAsyncResult<TContract> thisPtr = (ProcessMessagesAsyncResult<TContract>)result.AsyncState; 457ProcessMessagesAsyncResult<TContract> thisPtr = (ProcessMessagesAsyncResult<TContract>)result.AsyncState; 673ProcessMessagesAsyncResult<TContract> thisPtr = (ProcessMessagesAsyncResult<TContract>)result.AsyncState; 737ProcessMessagesAsyncResult<TContract> thisPtr = (ProcessMessagesAsyncResult<TContract>)result.AsyncState;
System\ServiceModel\Routing\ProcessRequestAsyncResult.cs (1)
139ProcessRequestAsyncResult<TContract> thisPtr = (ProcessRequestAsyncResult<TContract>)result.AsyncState;
System\ServiceModel\Routing\RoutingChannelExtension.cs (2)
130SessionChannels channelsToClose = (SessionChannels)asyncResult.AsyncState; 158RoutingChannelExtension thisPtr = (RoutingChannelExtension)result.AsyncState;
System.ServiceModel.Web (1)
System\ServiceModel\Channels\WebMessageEncoderFactory.cs (1)
521WriteMessageAsyncResult thisPtr = (WriteMessageAsyncResult)result.AsyncState;
System.Web (5)
HttpRuntime.cs (2)
2062HttpContext context = (HttpContext) ar.AsyncState; 2093HttpContext context = (HttpContext)ar.AsyncState;
ImplicitAsyncPreloadModule.cs (1)
108HttpAsyncResult httpAsyncResult = readAsyncResult.AsyncState as HttpAsyncResult;
Util\AppVerifier.cs (2)
334assert(asyncResult.AsyncState == state, AppVerifierErrorCode.AsyncCallbackInvokedWithUnexpectedAsyncResultAsyncState); 383assert(asyncResultReturnedByBeginHandler.AsyncState == state, AppVerifierErrorCode.BeginHandlerReturnedUnexpectedAsyncResultAsyncState);
System.Web.Services (5)
System\Web\Services\Protocols\ClientProtocol.cs (3)
273WebClientAsyncResult client = (WebClientAsyncResult)asyncResult.AsyncState; 308WebClientAsyncResult client = (WebClientAsyncResult)asyncResult.AsyncState; 384WebClientAsyncResult client = (WebClientAsyncResult)asyncResult.AsyncState;
System\Web\Services\Protocols\HttpClientProtocol.cs (1)
263AsyncOperation asyncOp = (AsyncOperation)result.AsyncState;
System\Web\Services\Protocols\SoapClientProtocol.cs (1)
417AsyncOperation asyncOp = (AsyncOperation)result.AsyncState;
System.Windows.Forms (2)
winforms\Managed\System\WinForms\PictureBox.cs (2)
746WebRequest req = (WebRequest)result.AsyncState; 780Stream responseStream = (Stream)result.AsyncState;
System.WorkflowServices (8)
System\ServiceModel\Dispatcher\ServiceDurableInstance.cs (4)
675Fx.Assert(result.AsyncState is FinishOperationAsyncResult, 678FinishOperationAsyncResult finishResult = (FinishOperationAsyncResult) result.AsyncState; 872Fx.Assert(result.AsyncState is StartOperationAsyncResult, 875StartOperationAsyncResult startResult = (StartOperationAsyncResult) result.AsyncState;
System\ServiceModel\Dispatcher\ServiceOperationInvoker.cs (3)
165InvokeAsyncResult invokeResult = result.AsyncState as InvokeAsyncResult; 195InvokeAsyncResult invokeResult = resultParameter.AsyncState as InvokeAsyncResult; 233InvokeAsyncResult invokeResult = resultParameter.AsyncState as InvokeAsyncResult;
System\ServiceModel\Persistence\SqlPersistenceProviderFactory.cs (1)
1136OperationAsyncResult operationResult = (OperationAsyncResult)result.AsyncState;