Langue

Console.OpenStandardErrorHandle Méthode

Définition

Obtient le handle d’erreur standard.

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

Retours

Représentant SafeFileHandle le handle d’erreur standard.

Attributs

Exceptions

La plateforme actuelle ne prend pas en charge l’accès au handle d’erreur standard.

Remarques

Le handle retourné ne possède pas la ressource sous-jacente, de sorte qu’il ne ferme pas le handle d’erreur standard.

S’applique à