Connection.Disconnected イベント

定義

認識エンジンがサービスから切断されていることを示す Disconnected イベント。 サブスクライブ後に Disconnected イベントを受信するには、Connection オブジェクト自体が有効である必要があります。 このイベントを所有する Connection オブジェクトが有効期間外の場合、サブスクライブされたすべてのイベントは配信されません。

public event EventHandler<Microsoft.CognitiveServices.Speech.ConnectionEventArgs> Disconnected;
member this.Disconnected : EventHandler<Microsoft.CognitiveServices.Speech.ConnectionEventArgs> 
Public Custom Event Disconnected As EventHandler(Of ConnectionEventArgs) 

イベントの種類

適用対象