Process.StartTime 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
연결된 프로세스가 시작된 시간을 가져옵니다.
public:
property DateTime StartTime { DateTime get(); };
[System.Runtime.Versioning.SupportedOSPlatform("maccatalyst")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
public DateTime StartTime { get; }
public DateTime StartTime { get; }
[<System.Runtime.Versioning.SupportedOSPlatform("maccatalyst")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
member this.StartTime : DateTime
member this.StartTime : DateTime
Public ReadOnly Property StartTime As DateTime
속성 값
연결된 프로세스가 시작된 시기를 나타내는 A DateTime 입니다.
- 특성
예외
원격 컴퓨터에서 실행 중인 프로세스에 StartTime 대 한 속성에 액세스 하려고 합니다. 이 속성은 로컬 컴퓨터에서 실행 중인 프로세스에만 사용할 수 있습니다.
이 개체와 연결된 프로세스가 없습니다. Windows 사용할 수 있는 프로세스 핸들이 없거나 Unix에서는 값이 캐시되지 않았으며 프로세스가 종료된 후에는 사용할 수 없습니다.
Windows 함수 호출에서 오류가 발생했습니다.
설명
Windows 프로세스에 대한 핸들을 사용할 수 있는 경우 프로세스가 종료된 후 이 속성을 읽을 수 있습니다. Unix에서 이 속성은 첫 번째 액세스 시 해당 값을 캐시합니다. 캐시된 값은 프로세스가 종료된 후 읽을 수 있지만, 프로세스를 종료한 후 캐시되지 않은 값에 액세스하면 값을 사용할 수 없을 때 throw InvalidOperationException 될 수 있습니다.