Delen via


klasse Speaker::VoiceProfilePhraseCancellationDetails

Klasse voor VoiceProfilePhraseCancellationDetails. Deze klasse vertegenwoordigt foutdetails van een spraakprofielresultaat.

Leden

ErrorCode

Syntaxis: public const CancellationErrorCode & ErrorCode;

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

ErrorDetails

Syntaxis: public const std::string ErrorDetails;

Het foutbericht in het geval van een mislukte spraakprofielactie (Reden is ingesteld op Fout).

FromResult

Syntaxis: public inline static std::shared_ptr< VoiceProfilePhraseCancellationDetails > FromResult ( std::shared_ptr< VoiceProfilePhraseResult > result );

Hiermee maakt u een exemplaar van het object VoiceProfilePhraseCancellationDetails voor het geannuleerde VoiceProfile.

Parameterwaarden

  • result het resultaat dat is geannuleerd.

Retouren

Een gedeelde aanwijzer naar VoiceProfilePhraseCancellationDetails.