QueueClient.DeferAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The asynchronous 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 of the message to modify.
Returns
The asynchronous operation.