Zone(SecurityZone) Constructor

Definition

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

public:
 Zone(System::Security::SecurityZone zone);
public Zone (System.Security.SecurityZone zone);
new System.Security.Policy.Zone : System.Security.SecurityZone -> System.Security.Policy.Zone
Public Sub New (zone As SecurityZone)

Parameters

zone
SecurityZone

The zone of origin for the associated code assembly.

Exceptions

The zone parameter is not a valid SecurityZone.

Applies to