导出 (0) 打印
全部展开
EN
此内容没有您的语言版本,但有英语版本。

MessageReceiver.BeginReceive Method (MessageReceipt, AsyncCallback, Object)

Asynchronous version of the Receive() method. Begins a receive operation.

Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus.Messaging (in Microsoft.ServiceBus.Messaging.dll)

public IAsyncResult BeginReceive(
	MessageReceipt receipt,
	AsyncCallback callback,
	Object state
)

Parameters

receipt
Type: Microsoft.ServiceBus.Messaging.MessageReceipt
The message receipt.
callback
Type: System.AsyncCallback
An AsyncCallback delegate that references the method to invoke when the operation is complete.
state
Type: System.Object
A user-defined object that contains information about the receive operation. This object is passed to the EndReceive(IAsyncResult) delegate when the operation is complete.

Return Value

Type: System.IAsyncResult
An IAsyncResult object that references the asynchronously completed operation.
显示:
© 2014 Microsoft