Export (0) Print
Expand All

MessageReceiver.Receive Method (TimeSpan)

Receives a BrokeredMessage from the current queue or topic.

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

public BrokeredMessage Receive(
	TimeSpan serverWaitTime
)

Parameters

serverWaitTime
Type: System.TimeSpan
The time span the server waits before the operation times out.

Return Value

Type: Microsoft.ServiceBus.Messaging.BrokeredMessage
The BrokeredMessage that represents the received message.

Community Additions

ADD
Show:
© 2014 Microsoft