Delen via


class Speaker::VoiceProfileCancellationDetails

Klasse voor VoiceProfileCancellationDetails. 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< VoiceProfileCancellationDetails > FromResult ( std::shared_ptr< VoiceProfileResult > result );

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

Parameters

  • result Het resultaat dat is geannuleerd.

Retouren

Een gedeelde aanwijzer naar VoiceProfileCancellationDetails.