14 references to FromAsync
System.ServiceModel.NetFramingBase (3)
System\ServiceModel\Channels\NetFramingTransportChannelFactory.cs (2)
336return Task.Factory.FromAsync(localUpgrade.BeginOpen, localUpgrade.EndOpen, timeout, null); 357await Task.Factory.FromAsync(localUpgrade.BeginClose, localUpgrade.EndClose, timeoutHelper.RemainingTime(), null);
System\ServiceModel\Security\SecurityUtilsEx.cs (1)
107return Task.Factory.FromAsync(obj.BeginOpen, obj.EndOpen, timeout, null);
System.ServiceModel.Primitives (8)
Internals\System\Runtime\TaskHelpers.cs (2)
199return Task.Factory.FromAsync(communicationObject.BeginClose, communicationObject.EndClose, timeout, null); 211return Task.Factory.FromAsync(communicationObject.BeginOpen, communicationObject.EndOpen, timeout, null);
System\ServiceModel\Channels\CommunicationObject.cs (4)
327await Task.Factory.FromAsync(OnBeginClose, OnEndClose, timeout, TaskCreationOptions.RunContinuationsAsynchronously); 576await Task.Factory.FromAsync(OnBeginOpen, OnEndOpen, timeout, TaskCreationOptions.RunContinuationsAsynchronously); 1041return Task.Factory.FromAsync(other.BeginOpen, other.EndOpen, timeout, null); 1071return Task.Factory.FromAsync(other.BeginClose, other.EndClose, timeout, null);
System\ServiceModel\Channels\ServiceChannelFactory.cs (1)
504await Task.Factory.FromAsync(base.OnBeginClose, base.OnEndClose, timeoutHelper.RemainingTime(), TaskCreationOptions.None);
System\ServiceModel\Dispatcher\ListenerHandler.cs (1)
150await Task.Factory.FromAsync(duplexSession.BeginCloseOutputSession, duplexSession.EndCloseOutputSession, timeout, null);
System.ServiceModel.Primitives.Tests (3)
ServiceModel\ThrowingOnCloseBindingElement.cs (3)
79return ToApm(Task.Factory.FromAsync(_innerFactory.BeginOpen, _innerFactory.EndOpen, timeout, null), callback, state); 121await Task.Factory.FromAsync(base.OnBeginClose, base.OnEndClose, timeout, null); 122await Task.Factory.FromAsync(_innerFactory.BeginClose, _innerFactory.EndClose, timeout, null);