你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Connection.Connected 事件

定义

Connected 事件,指示识别器已连接到服务。 若要在订阅 Connected 事件后接收该事件,Connection 对象本身需要处于活动状态。 如果拥有此事件的 Connection 对象已超过其生存期,则不会传递所有订阅的事件。

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

事件类型

适用于