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