4 references to FromAsync
System.ServiceModel.Primitives.Tests (4)
Channels\CustomChannelTest.cs (2)
152
Task openTask = Task.Factory.
FromAsync
(openResult, factory.EndOpen);
168
Task task = Task.Factory.
FromAsync
(asyncResult, factory.EndClose);
ServiceModel\ChannelFactoryTest.cs (2)
221
Task.Factory.
FromAsync
(factory.BeginOpen(null, null), factory.EndOpen).GetAwaiter().GetResult();
225
Task.Factory.
FromAsync
(factory.BeginClose(null, null), factory.EndClose).GetAwaiter().GetResult();