Note
Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.
Browser.OnDisconnected Method
Raises a Disconnected event during an asynchronous Browser session.
Namespace: Microsoft.Speech.VoiceXml
Assembly: Microsoft.Speech.VoiceXml (in Microsoft.Speech.VoiceXml.dll)
Syntax
'Declaration
Protected Overridable Sub OnDisconnected ( _
sender As Object, _
e As DisconnectedEventArgs _
)
'Usage
Dim sender As Object
Dim e As DisconnectedEventArgs
Me.OnDisconnected(sender, e)
protected virtual void OnDisconnected(
Object sender,
DisconnectedEventArgs e
)
Parameters
- sender
Type: System.Object
The object that initiated the Disconnected event.
- e
Type: Microsoft.Speech.VoiceXml.Common.DisconnectedEventArgs
An instance of DisconnectedEventArgs that contains information from the Disconnected event.
Remarks
You can override the OnDisconnected method to customize its functionality.