[ Team LiB ] Previous Section Next Section

ZoneIdentityPermissionAttributeserializable

System.Security.Permissions (mscorlib.dll)sealed class
public sealed class ZoneIdentityPermissionAttribute : CodeAccessSecurityAttribute {
// Public Constructors
   public ZoneIdentityPermissionAttribute(SecurityAction action);
// Public Instance Properties
   public SecurityZone Zone{set; get; }
// Public Instance Methods
   public override IPermission CreatePermission(  );
// overrides SecurityAttribute
}

This attribute class provides declarative syntax support for the ZoneIdentityPermission class. The security zone is specified by assigning a value of the System.Security.SecurityZone enumeration to the Zone property.

Hierarchy

System.Object System.Attribute SecurityAttribute CodeAccessSecurityAttribute ZoneIdentityPermissionAttribute

Valid On

Assembly, Class, Struct, Constructor, Method

    [ Team LiB ] Previous Section Next Section