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
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin