Zone Constructor (SecurityZone)

 

Initializes a new instance of the Zone class with the zone from which a code assembly originates.

Namespace:   System.Security.Policy
Assembly:  mscorlib (in mscorlib.dll)

public:
Zone(
	SecurityZone zone
)

Parameters

zone
Type: System.Security::SecurityZone

The zone of origin for the associated code assembly.

Exception Condition
ArgumentException

The zone parameter is not a valid SecurityZone.

.NET Framework
Available since 1.1
Return to top
Show: