BrokeredMessage.DeadLetterAsync 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
DeadLetterAsync() |
Asynchronously moves the message to the dead letter queue. |
DeadLetterAsync(IDictionary<String,Object>) |
Asynchronously moves the message to the dead letter queue. |
DeadLetterAsync(String, String) |
Asynchronously moves the message to the dead letter queue. |
DeadLetterAsync()
Asynchronously moves the message to the dead letter queue.
public System.Threading.Tasks.Task DeadLetterAsync ();
member this.DeadLetterAsync : unit -> System.Threading.Tasks.Task
Public Function DeadLetterAsync () As Task
Returns
The asynchronous result of the operation.
Applies to
DeadLetterAsync(IDictionary<String,Object>)
Asynchronously moves the message to the dead letter queue.
public System.Threading.Tasks.Task DeadLetterAsync (System.Collections.Generic.IDictionary<string,object> propertiesToModify);
member this.DeadLetterAsync : System.Collections.Generic.IDictionary<string, obj> -> System.Threading.Tasks.Task
Public Function DeadLetterAsync (propertiesToModify As IDictionary(Of String, Object)) As Task
Parameters
- propertiesToModify
- IDictionary<String,Object>
The key-value pair collection of properties to modify.
Returns
The asynchronous result of the operation.
Applies to
DeadLetterAsync(String, String)
Asynchronously moves the message to the dead letter queue.
public System.Threading.Tasks.Task DeadLetterAsync (string deadLetterReason, string deadLetterErrorDescription);
member this.DeadLetterAsync : string * string -> System.Threading.Tasks.Task
Public Function DeadLetterAsync (deadLetterReason As String, deadLetterErrorDescription As String) As Task
Parameters
- deadLetterReason
- String
The reason for deadlettering the message.
- deadLetterErrorDescription
- String
The description information for deadlettering the message.
Returns
The asynchronous result of the operation.
Applies to
Azure SDK for .NET