28 references to ToApm
System.ServiceModel.Federation (1)
System\ServiceModel\Federation\WSTrustChannelSecurityTokenProvider.cs (1)
229
return GetTokenAsyncCore(timeout).
ToApm
(callback, state);
System.ServiceModel.Http (3)
System\ServiceModel\Channels\TransportDuplexSessionChannel.cs (3)
110
return ReceiveAsync(timeout).
ToApm
(callback, state);
120
return ReceiveAsync(timeout).
ToApm
(callback, state);
210
return WaitForMessageAsync(timeout).
ToApm
(callback, state);
System.ServiceModel.NetFramingBase (3)
System\ServiceModel\Channels\TransportDuplexSessionChannel.cs (3)
113
return ReceiveAsync(timeout).
ToApm
(callback, state);
123
return ReceiveAsync(timeout).
ToApm
(callback, state);
212
return WaitForMessageAsync(timeout).
ToApm
(callback, state);
System.ServiceModel.Primitives (21)
System\IdentityModel\Selectors\SecurityTokenProvider.cs (2)
75
return GetTokenCoreInternalAsync(timeout).
ToApm
(callback, state);
163
return RenewTokenCoreInternalAsync(timeout, tokenToBeRenewed).
ToApm
(callback, state);
System\ServiceModel\Channels\DelegatingStream.cs (1)
87
public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, object state) => ReadAsync(buffer, offset, count).
ToApm
(callback, state);
System\ServiceModel\Channels\DuplexChannel.cs (3)
120
return ReceiveAsync(timeout).
ToApm
(callback, state);
147
return TryReceiveAsync(timeout).
ToApm
(callback, state);
174
return WaitForMessageAsync(timeout).
ToApm
(callback, state);
System\ServiceModel\Channels\LayeredChannelFactory.cs (4)
159
return ReceiveAsync().
ToApm
(callback, state);
164
return ReceiveAsync(timeout).
ToApm
(callback, state);
174
return TryReceiveAsync(timeout).
ToApm
(callback, state);
227
return WaitForMessageAsync(timeout).
ToApm
(callback, state);
System\ServiceModel\Channels\RequestChannel.cs (1)
210
return RequestAsyncInternal(message, timeout).
ToApm
(callback, state);
System\ServiceModel\Channels\SecurityChannelFactory.cs (3)
419
return RequestAsyncInternal(message, timeout).
ToApm
(callback, state);
556
return ReceiveAsync(timeout).
ToApm
(callback, state);
566
return TryReceiveAsync(timeout).
ToApm
(callback, state);
System\ServiceModel\Dispatcher\SyncMethodInvoker.cs (1)
50
return InvokeAsync(instance, inputs).
ToApm
(callback, state);
System\ServiceModel\Dispatcher\TaskMethodInvoker.cs (1)
60
return InvokeAsync(instance, inputs).
ToApm
(callback, state);
System\ServiceModel\Security\SecuritySessionClientSettings.cs (5)
1473
IAsyncResult IRequestChannel.BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state) => RequestAsync(message, timeout).
ToApm
(callback, state);
1585
public IAsyncResult BeginReceive(AsyncCallback callback, object state) => ReceiveAsync().
ToApm
(callback, state);
1587
public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state) => ReceiveAsync(timeout).
ToApm
(callback, state);
1591
public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) => TryReceiveAsync(timeout).
ToApm
(callback, state);
1717
public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state) => WaitForMessageAsync(timeout).
ToApm
(callback, state);