Sprache

Console.OpenStandardErrorHandle Methode

Definition

Ruft das Standardfehlerhandle ab.

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

Gibt zurück

A SafeFileHandle representing the standard error handle.

Attribute

Ausnahmen

Die aktuelle Plattform unterstützt nicht den Zugriff auf das Standardfehlerhandle.

Hinweise

Das zurückgegebene Handle besitzt nicht die zugrunde liegende Ressource, sodass das Entfernen des Standardfehlerhandles nicht geschlossen wird.

Gilt für: