Freigeben über


WebProcessStatistics.ProcessStartTime Eigenschaft

Definition

Ruft den Zeitpunkt ab, an dem der Prozess gestartet wurde.

public:
 property DateTime ProcessStartTime { DateTime get(); };
public DateTime ProcessStartTime { get; }
member this.ProcessStartTime : DateTime
Public ReadOnly Property ProcessStartTime As DateTime

Eigenschaftswert

Die DateTime, an der der Prozess gestartet wurde.

Beispiele

Das folgende Codebeispiel zeigt, wie Der ProcessStartTime Wert abgerufen wird.

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

Gilt für: