Share via


AspNetHostingPermissionAttribute クラス

メモ : この名前空間、クラス、およびメンバは、.NET Framework Version 1.1 だけでサポートされています。

宣言セキュリティを使用して、 AspNetHostingPermission のセキュリティ アクションをコードに適用できるようにします。このクラスは継承できません。

この型のすべてのメンバの一覧については、AspNetHostingPermissionAttribute メンバ を参照してください。

System.Object
   System.Attribute
      System.Security.Permissions.SecurityAttribute
         System.Security.Permissions.CodeAccessSecurityAttribute
            System.Web.AspNetHostingPermissionAttribute

<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

スレッドセーフ

この型の public static (Visual Basicでは Shared) のすべてのメンバは、マルチスレッド操作で安全に使用できます。インスタンスのメンバの場合は、スレッドセーフであるとは限りません。

必要条件

名前空間: System.Web

プラットフォーム: Windows 2000, Windows XP Professional, Windows Server 2003 ファミリ

アセンブリ: System (System.dll 内)

参照

AspNetHostingPermissionAttribute メンバ | System.Web 名前空間