Прочетете на английски Редактиране

Споделяне чрез


Marshal.GetLastPInvokeErrorMessage Method

Definition

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

C#
public static string GetLastPInvokeErrorMessage();

Returns

The error message associated with the last PInvoke error code.

Applies to

Продукт Версии
.NET 7, 8, 9, 10