AspNetHostingPermissionAttribute-Klasse
Lässt zu, dass Sicherheitsaktionen für AspNetHostingPermission mithilfe der deklarativen Sicherheit auf Code angewendet werden. Die Klasse kann nicht geerbt werden.
Namespace: System.Web
Assembly: System (in system.dll)
Syntax
'Declaration
<SerializableAttribute> _
<AttributeUsageAttribute(AttributeTargets.All, AllowMultiple:=True, Inherited:=False)> _
Public NotInheritable Class AspNetHostingPermissionAttribute
Inherits CodeAccessSecurityAttribute
'Usage
Dim instance As AspNetHostingPermissionAttribute
[SerializableAttribute]
[AttributeUsageAttribute(AttributeTargets.All, AllowMultiple=true, Inherited=false)]
public sealed class AspNetHostingPermissionAttribute : CodeAccessSecurityAttribute
[SerializableAttribute]
[AttributeUsageAttribute(AttributeTargets::All, AllowMultiple=true, Inherited=false)]
public ref class AspNetHostingPermissionAttribute sealed : public CodeAccessSecurityAttribute
/** @attribute SerializableAttribute() */
/** @attribute AttributeUsageAttribute(AttributeTargets.All, AllowMultiple=true, Inherited=false) */
public final class AspNetHostingPermissionAttribute extends CodeAccessSecurityAttribute
SerializableAttribute
AttributeUsageAttribute(AttributeTargets.All, AllowMultiple=true, Inherited=false)
public final class AspNetHostingPermissionAttribute extends CodeAccessSecurityAttribute
Vererbungshierarchie
System.Object
System.Attribute
System.Security.Permissions.SecurityAttribute
System.Security.Permissions.CodeAccessSecurityAttribute
System.Web.AspNetHostingPermissionAttribute
Threadsicherheit
Alle öffentlichen statischen (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.
Plattformen
Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.
Versionsinformationen
.NET Framework
Unterstützt in: 2.0, 1.1
Siehe auch
Referenz
AspNetHostingPermissionAttribute-Member
System.Web-Namespace
AspNetHostingPermission-Klasse