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!

Environment.ExitCode

Gets and sets the exit code of the process. This exit code is used by the Exit method.

[Visual Basic]
Public Shared Property ExitCode As Integer
[C#]
public static int ExitCode {get; set;}
[C++]
public: __property static int get_ExitCode();
public: __property static void set_ExitCode(int);
[JScript]
public static function get ExitCode() : int;
public static function set ExitCode(int);

Property Value

Get returns the exit code as an integer.

Set/Let is an integer representing the exit code.

See Also

Environment Class | Environment Members | System Namespace