Begins an asynchronous receive operation.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
|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 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.