SubscriptionClient.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
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
Azure SDK for .NET
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro