Språk

Console.OpenStandardErrorHandle Metod

Definition

Hämtar standardfelhandtaget.

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

Returer

En SafeFileHandle som representerar standardfelhandtaget.

Attribut

Undantag

Den aktuella plattformen stöder inte åtkomst till standardfelhandtaget.

Kommentarer

Det returnerade handtaget äger inte den underliggande resursen, så om du bortser från den stängs inte standardfelhandtaget.

Gäller för