SubscriptionClient.Defer SubscriptionClient.Defer SubscriptionClient.Defer SubscriptionClient.Defer Method

Definition

Overloads

Defer(Guid) Defer(Guid) Defer(Guid) Defer(Guid)

Suspends the processing of a message.

Defer(Guid, IDictionary<String,Object>) Defer(Guid, IDictionary<String,Object>) Defer(Guid, IDictionary<String,Object>) Defer(Guid, IDictionary<String,Object>)

Suspends the processing of a message.

Defer(Guid) Defer(Guid) Defer(Guid) Defer(Guid)

Suspends the processing of a message.

public:
 virtual void Defer(Guid lockToken);
public void Defer (Guid lockToken);
abstract member Defer : Guid -> unit
override this.Defer : Guid -> unit
Public Sub Defer (lockToken As Guid)
Parameters
lockToken
Guid Guid Guid Guid

The lock token bound to the locked message instance.

Exceptions

Thrown if the message represented by lockToken has lost the message lock.

Remarks

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

Defer(Guid, IDictionary<String,Object>) Defer(Guid, IDictionary<String,Object>) Defer(Guid, IDictionary<String,Object>) Defer(Guid, IDictionary<String,Object>)

Suspends the processing of a message.

public:
 virtual void Defer(Guid lockToken, System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ propertiesToModify);
public void Defer (Guid lockToken, System.Collections.Generic.IDictionary<string,object> propertiesToModify);
abstract member Defer : Guid * System.Collections.Generic.IDictionary<string, obj> -> unit
override this.Defer : Guid * System.Collections.Generic.IDictionary<string, obj> -> unit
Public Sub Defer (lockToken As Guid, propertiesToModify As IDictionary(Of String, Object))
Parameters
lockToken
Guid Guid Guid Guid

The lock token bound to the locked message instance.

propertiesToModify
IDictionary<String,Object>

The properties to modify.

Remarks

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

Applies to