Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
BeginReceive Method

MessageQueue.BeginReceive Method

Initiates an asynchronous receive operation by telling Message Queuing to begin receiving a message and notify the event handler when finished.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Supported by the .NET Compact Framework BeginReceive() Initiates an asynchronous receive operation that has no time-out. The operation is not complete until a message becomes available in the queue.
Public method Supported by the .NET Compact Framework BeginReceive(TimeSpan) Initiates an asynchronous receive operation that has a specified time-out. The operation is not complete until either a message becomes available in the queue or the time-out occurs.
Public method Supported by the .NET Compact Framework BeginReceive(TimeSpan, Object) Initiates an asynchronous receive operation that has a specified time-out and a specified state object, which provides associated information throughout the operation's lifetime. The operation is not complete until either a message becomes available in the queue or the time-out occurs.
Public method Supported by the .NET Compact Framework BeginReceive(TimeSpan, Object, AsyncCallback) Initiates an asynchronous receive operation that has a specified time-out and a specified state object, which provides associated information throughout the operation's lifetime. This overload receives notification, through a callback, of the identity of the event handler for the operation. The operation is not complete until either a message becomes available in the queue or the time-out occurs.
Public method BeginReceive(TimeSpan, Cursor, Object, AsyncCallback) Initiates an asynchronous receive operation that has a specified time-out and uses a specified cursor and a specified state object. The state object provides associated information throughout the lifetime of the operation. This overload receives notification, through a callback, of the identity of the event handler for the operation. The operation is not complete until either a message becomes available in the queue or the time-out occurs.
Top

Community Additions

ADD
Show:
© 2015 Microsoft