Share via


SubscriptionClient.DeferAsync Method

Definition

Overloads

DeferAsync(Guid)

Asynchronously suspends the processing of a message.

DeferAsync(Guid, IDictionary<String,Object>)

Asynchronously suspends the processing of a message.

DeferAsync(Guid)

Asynchronously suspends the processing of a message.

public System.Threading.Tasks.Task DeferAsync (Guid lockToken);
abstract member DeferAsync : Guid -> System.Threading.Tasks.Task
override this.DeferAsync : Guid -> System.Threading.Tasks.Task
Public Function DeferAsync (lockToken As Guid) As Task

Parameters

lockToken
Guid

The lock token bound to the locked message instance.

Returns

A task instance that represents the asynchronous defer operation.

Applies to

DeferAsync(Guid, IDictionary<String,Object>)

Asynchronously suspends the processing of a message.

public System.Threading.Tasks.Task DeferAsync (Guid lockToken, System.Collections.Generic.IDictionary<string,object> propertiesToModify);
abstract member DeferAsync : Guid * System.Collections.Generic.IDictionary<string, obj> -> System.Threading.Tasks.Task
override this.DeferAsync : Guid * System.Collections.Generic.IDictionary<string, obj> -> System.Threading.Tasks.Task
Public Function DeferAsync (lockToken As Guid, propertiesToModify As IDictionary(Of String, Object)) As Task

Parameters

lockToken
Guid

The lock token bound to the locked message instance.

propertiesToModify
IDictionary<String,Object>

The properties to modify.

Returns

A task instance that represents the asynchronous defer operation.

Applies to