private SetLastError ( int errorCode ) : void | ||
errorCode | int | |
Résultat | void |
public static int set_last_error(int errorCode) { int old_errno = NativeFunctions.GetLastError(); NativeFunctions.SetLastError(errorCode); return(old_errno); }
public static int set_last_error(int errorCode) { if (Environment.OSVersion.Platform == PlatformID.Win32NT) { int old_errno = NativeFunctions.GetLastError(); NativeFunctions.SetLastError(errorCode); return(old_errno); } throw PythonOps.NameError("set_last_error"); }
public static void set_last_error(int errorCode) { NativeFunctions.SetLastError(errorCode); }