Process.StartTime プロパティ

定義

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

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

プロパティ値

DateTime

プロセスが起動された時刻を示すオブジェクト。 プロセスが実行中でない場合は、例外がスローされます。

属性

例外

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

プロセスが終了しています。

または

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

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

適用対象