导出 (0) 打印
全部展开
EN
此内容没有您的语言版本,但有英语版本。
此主题尚未评级 - 评价此主题

MessageReceiver.OnTryReceive Method (IEnumerable<MessageReceipt>, TimeSpan, IEnumerable<BrokeredMessage>%)

Executes the try receive action.

Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus.Messaging (in Microsoft.ServiceBus.Messaging.dll)
protected virtual bool OnTryReceive(
	IEnumerable<MessageReceipt> receipts,
	TimeSpan timeout,
	out IEnumerable<BrokeredMessage> messages
)

Parameters

receipts
Type: System.Collections.Generic.IEnumerable<MessageReceipt>
The receipts.
timeout
Type: System.TimeSpan
The timeout.
messages
Type: System.Collections.Generic.IEnumerable<BrokeredMessage>%
[out] The messages.

Return Value

Type: System.Boolean
true if it succeeds, false if it fails.
显示:
© 2014 Microsoft. 版权所有。