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!

RegistryPermission Constructor (PermissionState)

Creates a new empty RegistryPermission.

[Visual Basic]
Overloads Public Sub New( _
   ByVal state As PermissionState _
)
[C#]
public RegistryPermission(
   PermissionState state
);
[C++]
public: RegistryPermission(
   PermissionState state
);
[JScript]
public function RegistryPermission(
   state : PermissionState
);

Parameters

state
Permission state object

Exceptions

Exception Type Condition
ArgumentException if an invalid PermissionState object is passed in.

Remarks

Constructs either fully restricted (no registry access) or unrestricted (allows any registry access) form of the permission.

See Also

RegistryPermission Class | RegistryPermission Members | System.Security.Permissions Namespace | RegistryPermission Constructor Overload List