ServiceBusSessionProcessor.SessionInitializingAsync イベント

定義

新しいセッションが処理されるときに通知されるように設定できるオプションのハンドラー。

public event Func<Azure.Messaging.ServiceBus.ProcessSessionEventArgs,System.Threading.Tasks.Task> SessionInitializingAsync;
member this.SessionInitializingAsync : Func<Azure.Messaging.ServiceBus.ProcessSessionEventArgs, System.Threading.Tasks.Task> 
Public Custom Event SessionInitializingAsync As Func(Of ProcessSessionEventArgs, Task) 

イベントの種類

注釈

プロセッサの状態は、このハンドラー内から直接管理することはお勧めしません。プロセッサの起動または停止を要求すると、デッドロック シナリオが発生する可能性があります。

適用対象