Connection.Disconnected Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET