VoiceChangeEventArgs VoiceChangeEventArgs VoiceChangeEventArgs VoiceChangeEventArgs Class

Definición

Devuelve datos del evento VoiceChange.Returns data from the VoiceChange event.

public ref class VoiceChangeEventArgs : System::Speech::Synthesis::PromptEventArgs
public class VoiceChangeEventArgs : System.Speech.Synthesis.PromptEventArgs
type VoiceChangeEventArgs = class
    inherit PromptEventArgs
Public Class VoiceChangeEventArgs
Inherits PromptEventArgs
Herencia

Comentarios

Se crea una VoiceChangeEventArgs instancia de cuando el SpeechSynthesizer objeto genera el VoiceChange evento.An instance of VoiceChangeEventArgs is created when the SpeechSynthesizer object raises the VoiceChange event. Para obtener la identidad del nuevo Voice, tenga acceso a la Voice propiedad en el controlador del evento.To obtain the identity of the new Voice, access the Voice property in the handler for the event.

Puede cambiar la voz en uso por el SpeechSynthesizer con cualquiera de StartVoice los PromptBuildermétodos de o los SpeechSynthesizermétodos o SelectVoice SelectVoiceByHints de.You can change the voice in use by the SpeechSynthesizer with any of the PromptBuilder's StartVoice methods or the SpeechSynthesizer's SelectVoice or SelectVoiceByHints methods.

Propiedades

Cancelled Cancelled Cancelled Cancelled

Obtiene un valor que indica si se ha cancelado una operación asincrónica.Gets a value indicating whether an asynchronous operation has been canceled.

(Inherited from AsyncCompletedEventArgs)
Error Error Error Error

Obtiene un valor que indica el error que se produjo durante una operación asincrónica.Gets a value indicating which error occurred during an asynchronous operation.

(Inherited from AsyncCompletedEventArgs)
Prompt Prompt Prompt Prompt

Obtiene la petición asociada al evento.Gets the prompt associated with the event.

(Inherited from PromptEventArgs)
UserState UserState UserState UserState

Obtiene el identificador único de la tarea asincrónica.Gets the unique identifier for the asynchronous task.

(Inherited from AsyncCompletedEventArgs)
Voice Voice Voice Voice

Obtiene el objeto VoiceInfo de la nueva voz.Gets the VoiceInfo object of the new voice.

Métodos

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determina si el objeto especificado es igual al objeto actual.Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Sirve como la función hash predeterminada.Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Obtiene el Type de la instancia actual.Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Crea una copia superficial del objeto Object actual.Creates a shallow copy of the current Object.

(Inherited from Object)
RaiseExceptionIfNecessary() RaiseExceptionIfNecessary() RaiseExceptionIfNecessary() RaiseExceptionIfNecessary()

Genera una excepción proporcionada por el usuario si se ha producido un error en una operación asincrónica.Raises a user-supplied exception if an asynchronous operation failed.

(Inherited from AsyncCompletedEventArgs)
ToString() ToString() ToString() ToString()

Devuelve una cadena que representa el objeto actual.Returns a string that represents the current object.

(Inherited from Object)

Se aplica a