Export (0) Print
Expand All

QueueClient.ReceiveBatch Method (Int32, TimeSpan)

Receives a message batch.

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

abstract ReceiveBatch : 
        messageCount:int * 
        serverWaitTime:TimeSpan -> IEnumerable<BrokeredMessage> 
override ReceiveBatch : 
        messageCount:int * 
        serverWaitTime:TimeSpan -> IEnumerable<BrokeredMessage> 

Parameters

messageCount
Type: System.Int32
The maximum number of messages to receive in a batch.
serverWaitTime
Type: System.TimeSpan
The time span that the server will wait for the message batch to arrive before it times out.

Return Value

Type: System.Collections.Generic.IEnumerable(BrokeredMessage)
A message batch.

Community Additions

ADD
Show:
© 2014 Microsoft