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 引進)
|