Partager via


UnifiedPosErrorData Constructeur

Définition

Crée un instance pour 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)

Paramètres

message
String

Platform::String

winrt::hstring

Message d’erreur.

severity
UnifiedPosErrorSeverity

Gravité de l’erreur.

reason
UnifiedPosErrorReason

Cause de l'erreur.

extendedReason
UInt32

unsigned int

uint32_t

Informations d’erreur spécifiques au fournisseur.

Configuration requise pour Windows

Famille d’appareils
Windows 10, version 1803 (introduit dans 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduit dans v6.0)

S’applique à