Was deze pagina nuttig?
Uw feedback over deze inhoud is belangrijk. Laat ons weten wat u denkt.
Aanvullende feedback?
1500 tekens resterend
Receive Method
Collapse the table of content
Expand the table of content
Deze inhoud is niet beschikbaar in uw taal, maar wel in het Engels.

QueueClient.Receive Method ()

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

public BrokeredMessage Receive()

Return Value

Type: Microsoft.ServiceBus.Messaging.BrokeredMessage

The BrokeredMessage that represents the received message. If no message is available to be received, the method returns NULL, and you can retry the operation at a later time.

Exception Condition

Thrown if the client entity has been closed or aborted.


Thrown if the message receive operation times out.


Thrown if an I/O or security error occurs.


Thrown if the messaging entity associated with the operation does not exist or it has been deleted.


Thrown if the user code has performed some unexpected operations, or the Service Bus gateway is down. Check the exception message for the actual error.

Return to top
© 2015 Microsoft