언어

Console.OpenStandardErrorHandle 메서드

정의

표준 오류 핸들을 가져옵니다.

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

반품

SafeFileHandle 표준 오류 핸들을 나타내는 형식입니다.

특성

예외

현재 플랫폼은 표준 오류 핸들 액세스를 지원하지 않습니다.

설명

반환된 핸들은 기본 리소스를 소유하지 않으므로 삭제해도 표준 오류 핸들이 닫힙니다.

적용 대상