Bewerken

Share via


Marshal.GetPInvokeErrorMessage(Int32) Method

Definition

Gets the system error message for the supplied error code.

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

Parameters

error
Int32

The error code.

Returns

The error message associated with error.

Applies to