Επεξεργασία

Κοινή χρήση μέσω


Marshal.GetLastPInvokeErrorMessage Method

Definition

Gets the system error message for the last PInvoke error code.

public:
 static System::String ^ GetLastPInvokeErrorMessage();
public static string GetLastPInvokeErrorMessage ();
static member GetLastPInvokeErrorMessage : unit -> string
Public Shared Function GetLastPInvokeErrorMessage () As String

Returns

The error message associated with the last PInvoke error code.

Applies to