Freigeben über


UnifiedPosErrorData Konstruktor

Definition

Erstellt eine instance für 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)

Parameter

message
String

Platform::String

winrt::hstring

Die Fehlermeldung.

severity
UnifiedPosErrorSeverity

Der Fehlerschweregrad.

reason
UnifiedPosErrorReason

Die Ursache des Fehlers.

extendedReason
UInt32

unsigned int

uint32_t

Die anbieterspezifischen Fehlerinformationen.

Windows-Anforderungen

Gerätefamilie
Windows 10, version 1803 (eingeführt in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v6.0)

Gilt für: