7 references to FromAsync
System (4)
net\System\Net\SecureProtocols\NegotiateStream.cs (1)
313
return Task.Factory.
FromAsync
(BeginAuthenticateAsServer, EndAuthenticateAsServer, policy, null);
net\System\Net\SecureProtocols\SslStream.cs (2)
266
return Task.Factory.
FromAsync
(BeginAuthenticateAsClient, EndAuthenticateAsClient, targetHost, null);
284
return Task.Factory.
FromAsync
(BeginAuthenticateAsServer, EndAuthenticateAsServer, serverCertificate, null);
net\System\Net\WebSockets\WebSocketConnectionStream.cs (1)
635
return Task.Factory.
FromAsync
<IList<ArraySegment<byte>>>(s_BeginMultipleWrite, s_EndMultipleWrite,
System.Runtime.Serialization (1)
System\Xml\XmlDictionaryWriter.cs (1)
237
return Task.Factory.
FromAsync
(this.BeginWriteValue, this.EndWriteValue, value, null);
System.ServiceModel.Discovery (2)
System\ServiceModel\Discovery\AnnouncementClient.cs (2)
393
return Task.Factory.
FromAsync
<EndpointDiscoveryMetadata>(this.BeginAnnounceOnline, this.EndAnnounceOnline, discoveryMetadata, /* state */ null);
399
return Task.Factory.
FromAsync
<EndpointDiscoveryMetadata>(this.BeginAnnounceOffline, this.EndAnnounceOffline, discoveryMetadata, /* state */ null);