UnifiedPosErrorData 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
为 UnifiedPosErrorData 创建实例。
public:
UnifiedPosErrorData(Platform::String ^ message, UnifiedPosErrorSeverity severity, UnifiedPosErrorReason reason, unsigned int extendedReason);
UnifiedPosErrorData(winrt::hstring const& message, UnifiedPosErrorSeverity const& severity, UnifiedPosErrorReason const& reason, uint32_t const& extendedReason);
public UnifiedPosErrorData(string message, UnifiedPosErrorSeverity severity, UnifiedPosErrorReason reason, uint extendedReason);
function UnifiedPosErrorData(message, severity, reason, extendedReason)
Public Sub New (message As String, severity As UnifiedPosErrorSeverity, reason As UnifiedPosErrorReason, extendedReason As UInteger)
参数
- message
-
String
Platform::String
winrt::hstring
错误消息。
- severity
- UnifiedPosErrorSeverity
错误严重性。
- reason
- UnifiedPosErrorReason
错误的原因。
- extendedReason
-
UInt32
unsigned int
uint32_t
供应商特定的错误信息。
Windows 要求
设备系列 |
Windows 10, version 1803 (在 10.0.17134.0 中引入)
|
API contract |
Windows.Foundation.UniversalApiContract (在 v6.0 中引入)
|