Share via


Connection.Disconnected Event

Definition

The Disconnected event to indicate that the recognizer is disconnected from service. In order to receive the Disconnected event after subscribing to it, the Connection object itself needs to be alive. If the Connection object owning this event is out of its life time, all subscribed events won't be delivered.

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

Event Type

Applies to