ApplicationAccessControlAttribute クラス
アセンブリ: System.EnterpriseServices (system.enterpriseservices.dll 内)

<ComVisibleAttribute(False)> _ <AttributeUsageAttribute(AttributeTargets.Assembly, Inherited:=True)> _ Public NotInheritable Class ApplicationAccessControlAttribute Inherits Attribute
[ComVisibleAttribute(false)] [AttributeUsageAttribute(AttributeTargets.Assembly, Inherited=true)] public sealed class ApplicationAccessControlAttribute : Attribute
[ComVisibleAttribute(false)] [AttributeUsageAttribute(AttributeTargets::Assembly, Inherited=true)] public ref class ApplicationAccessControlAttribute sealed : public Attribute

.NET Framework Version 1.1 では、アセンブリ内にこの属性が存在しない場合は、既定で COM+ のセキュリティ構成が有効になります。これは、.NET Framework Version 1.0 からの動作変更点です。

この属性を使用して、ServicedComponent クラスを格納しているアセンブリへのアクセスを制御する方法のコード例を次に示します。
' Set component access controls. <Assembly: ApplicationAccessControl(Authentication:=AuthenticationOption.Privacy, ImpersonationLevel:=ImpersonationLevelOption.Identify, AccessChecksLevel:=AccessChecksLevelOption.ApplicationComponent)>
// Set component access controls. [assembly: ApplicationAccessControl(Authentication=AuthenticationOption.Privacy, ImpersonationLevel=ImpersonationLevelOption.Identify , AccessChecksLevel=AccessChecksLevelOption.ApplicationComponent)]

System.Attribute
System.EnterpriseServices.ApplicationAccessControlAttribute


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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


- ApplicationAccessControlAttribute クラスのページへのリンク