Process.StartTime Właściwość

Definicja

Pobiera czas rozpoczęcia skojarzonego procesu.

public:
 property DateTime StartTime { DateTime get(); };
public DateTime StartTime { get; }
[System.Runtime.Versioning.SupportedOSPlatform("maccatalyst")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
public DateTime StartTime { get; }
member this.StartTime : DateTime
[<System.Runtime.Versioning.SupportedOSPlatform("maccatalyst")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
member this.StartTime : DateTime
Public ReadOnly Property StartTime As DateTime

Wartość właściwości

Obiekt wskazujący, kiedy proces został uruchomiony. Wyjątek jest zgłaszany, jeśli proces nie jest uruchomiony.

Atrybuty

Wyjątki

Próbujesz uzyskać dostęp do StartTime właściwości dla procesu uruchomionego na komputerze zdalnym. Ta właściwość jest dostępna tylko dla procesów uruchomionych na komputerze lokalnym.

Proces zakończył się.

-lub-

Proces nie został uruchomiony.

Wystąpił błąd w wywołaniu funkcji systemu Windows.

Dotyczy