NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Process.ExitTime

Gets the time that the associated process exited.

[Visual Basic]
Public ReadOnly Property ExitTime As DateTime
[C#]
public DateTime ExitTime {get;}
[C++]
public: __property DateTime get_ExitTime();
[JScript]
public function get ExitTime() : DateTime;

Property Value

A DateTime that indicates when the associated process was terminated.

Remarks

If the process has not terminated, attempting to retrieve the ExitTime causes an exception. Use HasExited before getting the ExitTime to determine if the associated process has terminated.

See Also

Process Class | Process Members | System.Diagnostics Namespace | Handle | ExitCode