Process.WaitForExitStatus 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
프로세스가 종료되기를 무기한 대기합니다.
public:
System::Diagnostics::ProcessExitStatus ^ WaitForExitStatus();
[System.Runtime.Versioning.SupportedOSPlatform("maccatalyst")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
public System.Diagnostics.ProcessExitStatus WaitForExitStatus();
[<System.Runtime.Versioning.SupportedOSPlatform("maccatalyst")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
member this.WaitForExitStatus : unit -> System.Diagnostics.ProcessExitStatus
Public Function WaitForExitStatus () As ProcessExitStatus
반품
프로세스의 종료 상태입니다.
- 특성
예외
이 개체와 연결된 프로세스가 없거나 프로세스 핸들 또는 종료 상태를 사용할 수 없습니다.
프로세스 개체가 삭제되었습니다.
프로세스는 원격 컴퓨터에 있습니다.
현재 플랫폼은 지원되지 않거나 Unix에서 프로세스가 자식 프로세스가 아닙니다.
설명
Unix에서 종료 상태 가져오기는 자식 프로세스에 대해서만 지원됩니다.