다음을 통해 공유


SpeechSynthesizer.SpeakAsyncCancel(Prompt) 메서드

정의

쿼리된 프롬프트에 대한 비동기 합성 작업을 취소합니다.

public:
 void SpeakAsyncCancel(System::Speech::Synthesis::Prompt ^ prompt);
public void SpeakAsyncCancel (System.Speech.Synthesis.Prompt prompt);
member this.SpeakAsyncCancel : System.Speech.Synthesis.Prompt -> unit
Public Sub SpeakAsyncCancel (prompt As Prompt)

매개 변수

prompt
Prompt

말하기 작업을 취소할 내용입니다.

설명

또한이 메서드를 사용 하 여 다음에 대 한 비동기 말하기 작업을 취소할 수 있습니다.

, 또는를 호출 하는 경우에 SpeechSynthesizer.SpeakAsync SpeechSynthesizer.SpeakAsync 는 system.string SpeakSsmlAsync 에서 개체를 만들고 Prompt 이 개체를 메서드 매개 변수의 콘텐츠로 채운 다음 개체를 반환 Prompt 합니다. 반환 된의 복사본을 유지 하는 경우 Prompt 에 전달 하 여 SpeakAsyncCancel 또는 개체에 지정 된 말하기 내용을 취소할 수 있습니다 String PromptBuilder .

적용 대상