語言

Marshal.GetPInvokeErrorMessage(Int32) 方法

定義

會收到所提供錯誤碼的系統錯誤訊息。

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

參數

error
Int32

錯誤碼。

傳回

與 error相關的錯誤訊息。

適用於