SALES: 1-800-867-1380
This topic has not yet been rated - Rate this topic

QueueClient::ReceiveAsync Method (TimeSpan)

Asynchronously receives a message using the InternalReceiver().

Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
public:
Task<BrokeredMessage^>^ ReceiveAsync(
	TimeSpan serverWaitTime
)

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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.