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 (SecurityZone)

Initializes a new instance of the ZoneIdentityPermission class to represent the specified zone identity.

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

Parameters

zone
Integer representing a zone. Reference: URLZONE enumerated type.

Exceptions

Exception Type Condition
ArgumentException if the zone argument does not designate a valid zone.

Remarks

This is the most commonly used constructor for this identity permission.

See Also

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