SALES: 1-800-867-1380
ReceiveAsync Method (TimeSpan)
Collapse the table of content
Expand the table of content

QueueClient.ReceiveAsync Method (TimeSpan)


Asynchronously receives a message using the P:Microsoft.ServiceBus.Messaging.QueueClient.InternalReceiver.

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

abstract ReceiveAsync : 
        serverWaitTime:TimeSpan -> Task<BrokeredMessage>
override ReceiveAsync : 
        serverWaitTime:TimeSpan -> Task<BrokeredMessage>


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.

Return to top
© 2016 Microsoft