Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IInputChannel::BeginReceive Method

 

Begins an asynchronous receive operation.

Namespace:   System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

NameDescription
System_CAPS_pubmethodBeginReceive(AsyncCallback^, Object^)

Begins an asynchronous operation to receive a message that has a state object associated with it.

System_CAPS_pubmethodBeginReceive(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.

Return to top
Show:
© 2017 Microsoft