Delen via


klasse SpeechRecognitionCanceledEventArgs

class SpeechRecognitionCanceledEventArgs
  : public SpeechRecognitionEventArgs

Klasse voor geannuleerde gebeurtenisargumenten voor spraakherkenning.

Leden

Reden

Syntaxis: public const CancellationReason & Reason;

De reden waarom het resultaat is geannuleerd.

ErrorCode

Syntaxis: public const CancellationErrorCode & ErrorCode;

De foutcode in het geval van een mislukte herkenning (reden is ingesteld op Fout). Als Reden geen fout is, wordt ErrorCode ingesteld op NoError. Toegevoegd in versie 1.1.0.

ErrorDetails

Syntaxis: public const std::string ErrorDetails;

Het foutbericht in het geval van een mislukte herkenning (reden is ingesteld op Fout).

SpeechRecognitionCanceledEventArgs

Syntaxis: public inline explicit SpeechRecognitionCanceledEventArgs ( SPXEVENTHANDLE hevent );

Constructor.

Parameters

  • hevent Gebeurtenisingang

~SpeechRecognitionCanceledEventArgs

Syntaxis: public inline virtual ~SpeechRecognitionCanceledEventArgs ( );