Export (0) Print
Expand All

QueueClient::ReceiveAsync Method (TimeSpan)

Asynchronously receives a message using the InternalReceiver().

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

public:
virtual Task<BrokeredMessage^>^ ReceiveAsync(
	TimeSpan serverWaitTime
) sealed

Parameters

serverWaitTime
Type: System::TimeSpan
The time span the server waits for receiving a message before it times out.

Return Value

Type: System.Threading.Tasks::Task<BrokeredMessage>
The asynchronous operation.

Community Additions

ADD
Show:
© 2014 Microsoft