10 references to FromAsync
System (8)
net\System\Net\SecureProtocols\NegotiateStream.cs (5)
271
return Task.Factory.
FromAsync
(BeginAuthenticateAsClient, EndAuthenticateAsClient, null);
286
return Task.Factory.
FromAsync
((callback, state) => BeginAuthenticateAsClient(credential, targetName, requiredProtectionLevel, allowedImpersonationLevel, callback, state), EndAuthenticateAsClient, null);
301
return Task.Factory.
FromAsync
((callback, state) => BeginAuthenticateAsClient(credential, binding, targetName, requiredProtectionLevel, allowedImpersonationLevel, callback, state), EndAuthenticateAsClient, null);
307
return Task.Factory.
FromAsync
(BeginAuthenticateAsServer, EndAuthenticateAsServer, null);
328
return Task.Factory.
FromAsync
((callback, state) => BeginAuthenticateAsServer(credential, policy, requiredProtectionLevel, requiredImpersonationLevel, callback, state), EndAuthenticateAsClient, null);
net\System\Net\SecureProtocols\SslStream.cs (3)
278
return Task.Factory.
FromAsync
((callback, state) => BeginAuthenticateAsClient(targetHost, clientCertificates, enabledSslProtocols, checkCertificateRevocation, callback, state), EndAuthenticateAsClient, null);
296
return Task.Factory.
FromAsync
((callback, state) => BeginAuthenticateAsServer(serverCertificate, clientCertificateRequired, enabledSslProtocols, checkCertificateRevocation, callback, state), EndAuthenticateAsServer, null);
302
return Task.Factory.
FromAsync
(
System.Core (1)
System\IO\Pipes\Pipe.cs (1)
638
return Task.Factory.
FromAsync
(BeginWaitForConnection, EndWaitForConnection, cancellationHelper);
System.Web (1)
HttpResponse.cs (1)
782
return Task.Factory.
FromAsync
(BeginFlush, EndFlush, state: null);