WebProcessStatistics.ProcessStartTime 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得處理序啟動的時間。
public:
property DateTime ProcessStartTime { DateTime get(); };
public DateTime ProcessStartTime { get; }
member this.ProcessStartTime : DateTime
Public ReadOnly Property ProcessStartTime As DateTime
屬性值
代表處理序啟動時間的 DateTime。
範例
下列程式碼範例示範如何取得 ProcessStartTime 值。
public string GetProcessStartTime()
{
// Get the process start time.
return (string.Format(
"Process start time: {0}",
processStatistics.ProcessStartTime.ToString()));
}
Public Function GetProcessStartTime() As String
' Get the process start time.
Return String.Format( _
"Process start time: {0}", _
processStatistics.ProcessStartTime.ToString())
End Function 'GetProcessStartTime