MessageReceiver.OnMessageAsync メソッド

定義

イベント ドリブン メッセージ ポンプでメッセージを非同期的に処理します。

public void OnMessageAsync (Func<Microsoft.ServiceBus.Messaging.BrokeredMessage,System.Threading.Tasks.Task> callback, Microsoft.ServiceBus.Messaging.OnMessageOptions options);
member this.OnMessageAsync : Func<Microsoft.ServiceBus.Messaging.BrokeredMessage, System.Threading.Tasks.Task> * Microsoft.ServiceBus.Messaging.OnMessageOptions -> unit
Public Sub OnMessageAsync (callback As Func(Of BrokeredMessage, Task), options As OnMessageOptions)

パラメーター

callback
Func<BrokeredMessage,Task>

操作が完了したときに呼び出すメソッド。

options
OnMessageOptions

メッセージ ポンプの OnMessageOptionsインスタンス化に使用するオプションを指定します。

適用対象