Export (0) Print
Expand All

MessageReceiver.Defer Method (Guid)

Indicates that the receiver wants to defer the processing for the message.

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

public void Defer(
	Guid lockToken
)

Parameters

lockToken
Type: System.Guid
The lock token of the BrokeredMessage. This is only available when a message is received in peek-lock mode. The lock token is used internally to complete or abandon a message.

ExceptionCondition
Exception

Receive context is null.

Before deferring, user should set aside the message receipt for later retrieval.

Community Additions

ADD
Show:
© 2015 Microsoft