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

MessageReceiver.Receive Method (MessageReceipt, TimeSpan)

Receives a BrokeredMessage from the current queue or topic.

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

public BrokeredMessage Receive(
	MessageReceipt receipt,
	TimeSpan serverWaitTime
)

Parameters

receipt
Type: Microsoft.ServiceBus.Messaging.MessageReceipt
The message receipt.
serverWaitTime
Type: System.TimeSpan
The server wait time before the operation times out.

ExceptionCondition
TimeoutException

The operation times out.

显示:
© 2014 Microsoft