DnsPermissionAttribute | ECMA 1.0, serializable |
System.Net (system.dll) | sealed class |
This attribute is used to declare in
metadata that the attributed method
or class requires DnsPermission of the declared
form.
public sealed class DnsPermissionAttribute : System.Security.Permissions.CodeAccessSecurityAttribute {
// Public Constructors
public DnsPermissionAttribute(System.Security.Permissions.SecurityAction action);
// Public Instance Methods
public override IPermission CreatePermission( );
// overrides System.Security.Permissions.SecurityAttribute
}
Hierarchy
System.Object
System.Attribute
System.Security.Permissions.SecurityAttribute
System.Security.Permissions.CodeAccessSecurityAttribute
DnsPermissionAttribute
Valid On
Assembly, Class, Struct, Constructor, Method
|