Receives the first message available in the queue.
Receives the first message available in the queue referenced by the MessageQueue. Waits the specified interval for a new message to be removed, uses the specified object to retrieve the result, and receives notification through a callback.
[Visual Basic] Overloads Public Function BeginReceive(TimeSpan, Object, AsyncCallback) As IAsyncResult
[C#] public IAsyncResult BeginReceive(TimeSpan, Object, AsyncCallback);
[C++] public: IAsyncResult* BeginReceive(TimeSpan, Object, AsyncCallback);
[JScript] public function BeginReceive(TimeSpan, Object, AsyncCallback) : IAsyncResult;
Receives the first message available in the queue referenced by the MessageQueue. Waits the specified interval for a new message to be removed and uses the specified object to retrieve the result.
[Visual Basic] Overloads Public Function BeginReceive(TimeSpan, Object) As IAsyncResult
[C#] public IAsyncResult BeginReceive(TimeSpan, Object);
[C++] public: IAsyncResult* BeginReceive(TimeSpan, Object);
[JScript] public function BeginReceive(TimeSpan, Object) : IAsyncResult;
Receives the first message available in the queue referenced by the MessageQueue. Waits the specified interval for the message to be removed.
[Visual Basic] Overloads Public Function BeginReceive(TimeSpan) As IAsyncResult
[C#] public IAsyncResult BeginReceive(TimeSpan);
[C++] public: IAsyncResult* BeginReceive(TimeSpan);
[JScript] public function BeginReceive(TimeSpan) : IAsyncResult;
Receives the first message available in the queue referenced by the MessageQueue.
[Visual Basic] Overloads Public Function BeginReceive() As IAsyncResult
[C#] public IAsyncResult BeginReceive();
[C++] public: IAsyncResult* BeginReceive();
[JScript] public function BeginReceive() : IAsyncResult;
MessageQueue Class | MessageQueue Members | System.Messaging Namespace