AspNetHostingPermissionAttribute Class
Allows security actions for AspNetHostingPermission to be applied to code using declarative security. This class cannot be inherited.
For a list of all members of this type, see AspNetHostingPermissionAttribute Members.
System.Object
System.Attribute
System.Security.Permissions.SecurityAttribute
System.Security.Permissions.CodeAccessSecurityAttribute
System.Web.AspNetHostingPermissionAttribute
[Visual Basic] <AttributeUsage(AttributeTargets.All)> <Serializable> NotInheritable Public Class AspNetHostingPermissionAttribute Inherits CodeAccessSecurityAttribute [C#] [AttributeUsage(AttributeTargets.All)] [Serializable] public sealed class AspNetHostingPermissionAttribute : CodeAccessSecurityAttribute [C++] [AttributeUsage(AttributeTargets::All)] [Serializable] public __gc __sealed class AspNetHostingPermissionAttribute : public CodeAccessSecurityAttribute [JScript] public AttributeUsage(AttributeTargets.All) Serializable class AspNetHostingPermissionAttribute extends CodeAccessSecurityAttribute
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Requirements
Namespace: System.Web
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
Assembly: System (in System.dll)
See Also
AspNetHostingPermissionAttribute Members | System.Web Namespace