Process.StartTime プロパティ

定義

関連付けられたプロセスが開始された時刻を取得します。

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

プロパティ値

プロセスが開始された日時を示すオブジェクト。 プロセスが実行されていない場合は、例外がスローされます。

属性

例外

リモート コンピューターで実行されているプロセスの StartTime プロパティにアクセスしようとしています。 このプロパティは、ローカル コンピューターで実行されているプロセスでのみ使用できます。

プロセスが終了しました。

-又は-

プロセスが開始されていません。

Windows関数の呼び出しでエラーが発生しました。

適用対象