Marshal.GetPInvokeErrorMessage(Int32) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient le message d’erreur système pour le code d’erreur fourni.
public:
static System::String ^ GetPInvokeErrorMessage(int error);
public static string GetPInvokeErrorMessage(int error);
static member GetPInvokeErrorMessage : int -> string
Public Shared Function GetPInvokeErrorMessage (error As Integer) As String
Paramètres
- error
- Int32
Code d'erreur.
Retours
Message d’erreur associé errorà .