SALES: 1-800-867-1380

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 final function Defer(
	lockToken : Guid
)

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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft