SpeakStartedEventArgs 类

定义

SpeakStarted 事件返回通知。

public ref class SpeakStartedEventArgs : System::Speech::Synthesis::PromptEventArgs
public class SpeakStartedEventArgs : System.Speech.Synthesis.PromptEventArgs
type SpeakStartedEventArgs = class
    inherit PromptEventArgs
Public Class SpeakStartedEventArgs
Inherits PromptEventArgs
继承

注解

当对象引发SpeakStartedEventArgs事件时SpeechSynthesizer,将创建一个实例SpeakStarted。 当SpeechSynthesizer事件开始使用任何SpeakStartedSpeakSpeakAsyncSpeakSsml方法发出提示时引发SpeakSsmlAsync该事件。

SpeakStartedEventArgs 类没有属性,并且不返回 SpeakStarted 事件中的数据。 它用于使应用程序作者能够为 SpeakStarted 事件编写事件处理程序。

属性

名称 说明
Cancelled

获取一个值,该值指示是否已取消异步操作。

(继承自 AsyncCompletedEventArgs)
Error

获取一个值,该值指示异步操作期间发生的错误。

(继承自 AsyncCompletedEventArgs)
Prompt

获取与事件关联的提示。

(继承自 PromptEventArgs)
UserState

获取异步任务的唯一标识符。

(继承自 AsyncCompletedEventArgs)

方法

名称 说明
Equals(Object)

确定指定的对象是否等于当前对象。

(继承自 Object)
GetHashCode()

用作默认哈希函数。

(继承自 Object)
GetType()

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()

创建当前 Object的浅表副本。

(继承自 Object)
RaiseExceptionIfNecessary()

如果异步操作失败,则引发用户提供的异常。

(继承自 AsyncCompletedEventArgs)
ToString()

返回一个表示当前对象的字符串。

(继承自 Object)

适用于