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