VoiceProfileCancellationDetails 的类。 此类表示语音配置文件结果的错误详细信息。
成员
ErrorCode
语法:public const CancellationErrorCode & ErrorCode;
如果语音配置文件作失败(原因设置为“错误”),则错误代码。 如果 Reason 不是 Error,则 ErrorCode 设置为 NoError。
ErrorDetails
语法:public const std::string ErrorDetails;
如果语音配置文件作失败(原因设置为“错误”),则显示错误消息。
FromResult
语法:public inline static std::shared_ptr< VoiceProfileCancellationDetails > FromResult ( std::shared_ptr< VoiceProfileResult > result );
为已取消的 VoiceProfile 创建 VoiceProfileCancellationDetails 对象的实例。
参数
-
result
取消的结果。
退货
指向 VoiceProfileCancellationDetails 的共享指针。