Marshal.SetLastSystemError(Int32) Yöntem

Tanım

Geçerli iş parçacığındaki son sistem hatasını ayarlar.

public:
 static void SetLastSystemError(int error);
public static void SetLastSystemError (int error);
static member SetLastSystemError : int -> unit
Public Shared Sub SetLastSystemError (error As Integer)

Parametreler

error
Int32

Ayarlanacağı hata.

Açıklamalar

Sistem hatası, windows üzerinde Unix ve SetLastError'da geçerli işletim sistemini errno temel alır.

Şunlara uygulanır