Share via


BrokeredMessage.DeadLetterAsync Method

Definition

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