UnifiedPosErrorData Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates an instance for 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)
Parameters
- message
-
String
Platform::String
winrt::hstring
The error message.
- severity
- UnifiedPosErrorSeverity
The error severity.
- reason
- UnifiedPosErrorReason
The cause of the error.
- extendedReason
-
UInt32
unsigned int
uint32_t
The vendor specific error information.
Windows requirements
Device family |
Windows 10, version 1803 (introduced in 10.0.17134.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v6.0)
|