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.WorkingSet

Returns the amount of memory physically mapped to the environment's process context.

[Visual Basic]
Public Shared ReadOnly Property WorkingSet As Integer
[C#]
public static int WorkingSet {get;}
[C++]
public: __property static int get_WorkingSet();
[JScript]
public static function get WorkingSet() : int;

Remarks

If "main" is not void, "main" is returned as the process exit code. If "main" is void, the last value passed in through System.SetExitCode is taken. If System.SetExitCode was not called, 0 is returned as the process exit code.

Requirements

NGWS Runtime Security:

EnvironmentPermissionAccess Read permission for the environment variables.

See Also

Environment Class | Environment Members | System Namespace