WebPermissionAttributeECMA 1.0, serializable

System.Net (system.dll)sealed class

This attribute is used to declare in metadata that the attributed method or class requires WebPermission of the declared form.

public sealed class WebPermissionAttribute : System.Security.Permissions.CodeAccessSecurityAttribute {
// Public Constructors
   public WebPermissionAttribute(System.Security.Permissions.SecurityAction action);
// Public Instance Properties
   public string Accept{set; get; }
   public string AcceptPattern{set; get; }
   public string Connect{set; get; }
   public string ConnectPattern{set; get; }
// Public Instance Methods
   public override IPermission CreatePermission( );    
// overrides System.Security.Permissions.SecurityAttribute


System.Object System.Attribute System.Security.Permissions.SecurityAttribute System.Security.Permissions.CodeAccessSecurityAttribute WebPermissionAttribute

Valid On

Assembly, Class, Struct, Constructor, Method

    Part II: Programming with the .NET Framework
    Part IV: API Quick Reference
    Chapter 26. System