SALES: 1-800-867-1380

MessageReceiver.ReceiveAsync Method (TimeSpan)

 

Asynchronously receives a message from the current queue or topic.

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 before the operation times out.

Return Value

Type: System.Threading.Tasks.Task<BrokeredMessage>

The asynchronous operation.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2016 Microsoft