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