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!

ZoneIdentityPermission Constructor (PermissionState)

Initializes a new instance of the ZoneIdentityPermission class to either the completely unrestricted (matches all zones) or restricted (matches no zones) state.

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

Parameters

state
Specifies if the permission is to be initialized to the unrestricted or restricted state.

Exceptions

Exception Type Condition
ArgumentException if state is other than a valid PermissionState value.

Remarks

This constructor is not as useful as other constructors in this class, but it is provided as standard constructor for all permissions.

See Also

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