Visual Basic (Declaration) | |
---|---|
Public Event ProcessExited As ProcessExitedEventHandler |
C# | |
---|---|
public event ProcessExitedEventHandler ProcessExited |
The event handler receives an argument of type ProcessExitedEventArgs containing data related to this event. The following ProcessExitedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
ExitCode | Returns the environment exit code of the process |
Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7