4 writes to Exception
System.Speech (4)
Internal\Synthesis\VoiceSynthesis.cs (4)
395paramSpeak._prompt.Exception = new OperationCanceledException(SR.Get(SRID.PromptAsyncOperationCancelled)); 420paramSpeak._prompt.Exception = new OperationCanceledException(SR.Get(SRID.PromptAsyncOperationCancelled)); 971prompt.Exception = exception; 1524prompt.Exception = ttsEvent.Exception;
7 references to Exception
System.Speech (7)
Internal\Synthesis\VoiceSynthesis.cs (5)
130if (prompt.Exception != null) 132ExceptionDispatchInfo.Throw(prompt.Exception); 746InjectEvent(TtsEventId.StartInputStream, paramSpeak._prompt, paramSpeak._prompt.Exception, null); 748if (paramSpeak._prompt.Exception == null) 787ChangeStateToReady(paramSpeak._prompt, paramSpeak._prompt.Exception);
Synthesis\PromptEventArgs.cs (2)
11internal PromptEventArgs(Prompt prompt) : base(prompt.Exception, prompt.Exception != null, prompt)