EN
此内容没有您的语言版本,但有英语版本。

MessageReceiver.OnBeginTryReceive Method (IEnumerable<MessageReceipt>, TimeSpan, AsyncCallback, Object)

Executes the begin try receive action.

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

protected abstract IAsyncResult OnBeginTryReceive(
	IEnumerable<MessageReceipt> receipts,
	TimeSpan timeout,
	AsyncCallback callback,
	Object state
)

Parameters

receipts
Type: System.Collections.Generic.IEnumerable<MessageReceipt>
The receipts.
timeout
Type: System.TimeSpan
The timeout.
callback
Type: System.AsyncCallback
References the method to invoke when the operation is complete.
state
Type: System.Object
Information about the receive operation.

Return Value

Type: System.IAsyncResult
The result of the action.
显示: