다음을 통해 공유


IInputChannel.BeginReceive Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

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.

Overload List

  Name Description
Public methodSupported by Silverlight for Windows Phone BeginReceive(AsyncCallback, Object) Begins an asynchronous operation to receive a message that has a state object associated with it.
Public methodSupported by Silverlight for Windows Phone BeginReceive(TimeSpan, AsyncCallback, Object) Begins an asynchronous operation to receive a message that has a specified time out and state object associated with it.

Top

Remarks

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.