17 references to AsyncReceiveResult
System.ServiceModel (17)
System\ServiceModel\Channels\IMessageSource.cs (2)
17AsyncReceiveResult BeginReceive(TimeSpan timeout, WaitCallback callback, object state); 21AsyncReceiveResult BeginWaitForMessage(TimeSpan timeout, WaitCallback callback, object state);
System\ServiceModel\Channels\SessionConnectionReader.cs (8)
1202public AsyncReceiveResult BeginReceive(TimeSpan timeout, WaitCallback callback, object state) 1206return AsyncReceiveResult.Completed; 1214return AsyncReceiveResult.Completed; 1224return AsyncReceiveResult.Completed; 1228return AsyncReceiveResult.Completed; 1266return AsyncReceiveResult.Pending; 1360public AsyncReceiveResult BeginWaitForMessage(TimeSpan timeout, WaitCallback callback, object state) 1369return AsyncReceiveResult.Completed;
System\ServiceModel\Channels\SynchronizedMessageSource.cs (2)
211if (Source.BeginReceive(timeout, onReceiveComplete, this) == AsyncReceiveResult.Completed) 255if (Source.BeginWaitForMessage(timeout, onWaitForMessageComplete, this) == AsyncReceiveResult.Completed)
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (5)
569public AsyncReceiveResult BeginReceive(TimeSpan timeout, WaitCallback callback, object state) 575return AsyncReceiveResult.Completed; 586return AsyncReceiveResult.Pending; 746public AsyncReceiveResult BeginWaitForMessage(TimeSpan timeout, Threading.WaitCallback callback, object state) 755return AsyncReceiveResult.Completed;