Nyelv

Console.OpenStandardErrorHandle Metódus

Definíció

Lekéri a szabványos hibakezelőt.

public:
 static Microsoft::Win32::SafeHandles::SafeFileHandle ^ OpenStandardErrorHandle();
[System.Runtime.Versioning.UnsupportedOSPlatform("android")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
public static Microsoft.Win32.SafeHandles.SafeFileHandle OpenStandardErrorHandle();
[<System.Runtime.Versioning.UnsupportedOSPlatform("android")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
static member OpenStandardErrorHandle : unit -> Microsoft.Win32.SafeHandles.SafeFileHandle
Public Shared Function OpenStandardErrorHandle () As SafeFileHandle

Válaszok

A SafeFileHandle standard hibaleírót jelképező.

Attribútumok

Kivételek

A jelenlegi platform nem támogatja a standard hibaleíró elérését.

Megjegyzések

A visszaadott leíró nem a mögöttes erőforrás tulajdonosa, ezért a törlés nem zárja be a standard hibaleírót.

A következőre érvényes: