次の方法で共有


MessageReceiver.OnBeginDeadLetter メソッド

定義

OnDeadLetter または BeginDeadLetter 操作の呼び出し時に実行されます。

protected abstract IAsyncResult OnBeginDeadLetter (Microsoft.ServiceBus.Tracing.TrackingContext trackingContext, System.Collections.Generic.IEnumerable<Guid> lockTokens, System.Collections.Generic.IDictionary<string,object> propertiesToModify, string deadLetterReason, string deadLetterErrorDescription, bool fromSync, TimeSpan timeout, AsyncCallback callback, object state);
abstract member OnBeginDeadLetter : Microsoft.ServiceBus.Tracing.TrackingContext * seq<Guid> * System.Collections.Generic.IDictionary<string, obj> * string * string * bool * TimeSpan * AsyncCallback * obj -> IAsyncResult
Protected MustOverride Function OnBeginDeadLetter (trackingContext As TrackingContext, lockTokens As IEnumerable(Of Guid), propertiesToModify As IDictionary(Of String, Object), deadLetterReason As String, deadLetterErrorDescription As String, fromSync As Boolean, timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult

パラメーター

trackingContext
TrackingContext

この操作を追跡するトランザクションに関連付けられているコンテキスト情報。

lockTokens
IEnumerable<Guid>

ロックされたメッセージ インスタンスにバインドされたロック トークンのコレクション。

propertiesToModify
IDictionary<String,Object>

変更するプロパティ。

deadLetterReason
String

メッセージを配信不能にした理由。

deadLetterErrorDescription
String

メッセージを配信不能にするためのエラーの説明。

fromSync
Boolean

同期の開始。

timeout
TimeSpan

操作がタイムアウトするまでの待機時間。

callback
AsyncCallback

操作の完了時に呼び出すメソッドを参照する AsyncCallback デリゲート。

state
Object

非同期操作に関する状態情報を含むユーザー定義オブジェクト。

戻り値

IAsyncResult配信不能キューにメッセージの配信不能を移動する非同期操作を参照する 。

適用対象