SpeechContinuousRecognitionSession.CancelAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Asynchronously cancel the continuous speech recognition session and discard all pending recognition results.
public:
virtual IAsyncAction ^ CancelAsync() = CancelAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction CancelAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction CancelAsync();
function cancelAsync()
Public Function CancelAsync () As IAsyncAction
Returns
An asynchronous handler called when the operation is complete.
- Attributes
Remarks
A ResultGenerated event can occur after a call to CancelAsync if it exists on the stack when the call is made.
StopAsync passes pending results to the ResultGenerated event.
Applies to
See also
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla