IInputChannel::BeginReceive Method
Begins an asynchronous receive operation.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
| Name | Description | |
|---|---|---|
![]() | BeginReceive(AsyncCallback^, Object^) | Begins an asynchronous operation to receive a message that has a state object associated with it. |
![]() | BeginReceive(TimeSpan, AsyncCallback^, Object^) | Begins an asynchronous operation to receive a message that has a specified time out and state object associated with it. |
Use the asynchronous BeginReceive method when you want the application processing to continue without waiting for the request to be received. Use the synchronous Receive method when it is acceptable for the current thread to be blocked until the request message is received or the interval of time specified by the timeout has been exceeded. The asynchronous operation is available with or without an explicit timeout.
