5 types derived from ContextAwareResult
System (5)
net\System\Net\DNS.cs (1)
646
private class ResolveAsyncResult :
ContextAwareResult
net\System\Net\Sockets\_BaseOverlappedAsyncResult.cs (1)
21
internal class BaseOverlappedAsyncResult :
ContextAwareResult
net\System\Net\Sockets\Socket.cs (3)
7065
private class MultipleAddressConnectAsyncResult :
ContextAwareResult
8440
internal class ConnectAsyncResult:
ContextAwareResult
{
8450
internal class AcceptAsyncResult:
ContextAwareResult
{
8 instantiations of ContextAwareResult
System (8)
net\System\Net\FtpWebRequest.cs (3)
724
asyncResult = new
ContextAwareResult
(this, state, callback);
745
asyncResult = new
ContextAwareResult
(true, true, this, state, callback);
977
asyncResult = new
ContextAwareResult
(true, true, this, state, callback);
net\System\Net\HttpWebRequest.cs (3)
1356
ContextAwareResult asyncResult = new
ContextAwareResult
(IdentityRequired, true, this, state, callback);
1945
ContextAwareResult asyncResult = new
ContextAwareResult
(IdentityRequired, true, this, state, callback);
2214
ContextAwareResult readResult = new
ContextAwareResult
(IdentityRequired, true, this, null, null);
net\System\Net\mail\SmtpClient.cs (1)
658
operationCompletedResult = new
ContextAwareResult
(transport.IdentityRequired, true, null, this, _ContextSafeCompleteCallback);
net\System\Net\NetworkInformation\SystemIPGlobalProperties.cs (1)
399
ContextAwareResult asyncResult = new
ContextAwareResult
(false, false, this, state, callback);
40 references to ContextAwareResult
System (40)
net\System\Net\_NTAuthentication.cs (1)
380
internal NTAuthentication(bool isServer, string package, NetworkCredential credential, string spn, ContextFlags requestedContextFlags,
ContextAwareResult
context, ChannelBinding channelBinding)
net\System\Net\FtpWebRequest.cs (9)
236
private
ContextAwareResult
m_WriteAsyncResult;
718
ContextAwareResult
asyncResult;
740
asyncResult = (
ContextAwareResult
)httpWebRequest.BeginGetResponse(callback, state);
768
asyncResult = (
ContextAwareResult
)m_ReadAsyncResult;
956
ContextAwareResult
asyncResult = null;
972
asyncResult = (
ContextAwareResult
)httpWebRequest.BeginGetRequestStream(callback, state);
1327
internal override
ContextAwareResult
GetWritingContext()
1329
if (m_ReadAsyncResult != null && m_ReadAsyncResult is
ContextAwareResult
)
1330
return (
ContextAwareResult
)m_ReadAsyncResult;
net\System\Net\HttpWebRequest.cs (14)
1356
ContextAwareResult
asyncResult = new ContextAwareResult(IdentityRequired, true, this, state, callback);
1945
ContextAwareResult
asyncResult = new ContextAwareResult(IdentityRequired, true, this, state, callback);
2214
ContextAwareResult
readResult = new ContextAwareResult(IdentityRequired, true, this, null, null);
4024
internal override
ContextAwareResult
GetConnectingContext()
4033
ContextAwareResult
context =
4035
_ReadAResult : _WriteAResult) as
ContextAwareResult
;
4047
internal override
ContextAwareResult
GetWritingContext()
4055
ContextAwareResult
context = _WriteAResult as
ContextAwareResult
;
4059
context = _ReadAResult as
ContextAwareResult
;
4072
internal override
ContextAwareResult
GetReadingContext()
4080
ContextAwareResult
context = _ReadAResult as
ContextAwareResult
;
4083
context = _WriteAResult as
ContextAwareResult
;
net\System\Net\mail\SmtpClient.cs (5)
54
ContextAwareResult
operationCompletedResult = null;
807
ContextAwareResult
operationCompletedResult = (
ContextAwareResult
)result.AsyncState;
846
ContextAwareResult
result = (
ContextAwareResult
)ar;
net\System\Net\mail\smtpconnection.cs (4)
164
internal IAsyncResult BeginGetConnection(ServicePoint servicePoint,
ContextAwareResult
outerResult, AsyncCallback callback, object state)
476
private Authorization SetContextAndTryAuthenticate(ISmtpAuthenticationModule module, NetworkCredential credential,
ContextAwareResult
context)
587
private readonly
ContextAwareResult
m_OuterResult;
590
internal ConnectAndHandshakeAsyncResult(SmtpConnection connection, string host, int port,
ContextAwareResult
outerResult, AsyncCallback callback, object state) :
net\System\Net\mail\SmtpTransport.cs (1)
218
internal IAsyncResult BeginGetConnection(ServicePoint servicePoint,
ContextAwareResult
outerResult, AsyncCallback callback, object state)
net\System\Net\NetworkInformation\SystemIPGlobalProperties.cs (3)
399
ContextAwareResult
asyncResult = new ContextAwareResult(false, false, this, state, callback);
414
ContextAwareResult
result = asyncResult as
ContextAwareResult
;
net\System\Net\WebRequest.cs (3)
985
internal virtual
ContextAwareResult
GetConnectingContext()
990
internal virtual
ContextAwareResult
GetWritingContext()
995
internal virtual
ContextAwareResult
GetReadingContext()