SecureMethodAttribute クラス
セキュリティ サービスを使用した場合に、メソッドのインターフェイスまたはクラス内の各メソッドのインターフェイスを通じてインフラストラクチャの呼び出しが行われるようにします。クラスはインターフェイスでセキュリティ サービスを使用する必要があります。このクラスは継承できません。
この型のすべてのメンバの一覧については、SecureMethodAttribute メンバ を参照してください。
System.Object
System.Attribute
System.EnterpriseServices.SecureMethodAttribute
<AttributeUsage(AttributeTargets.Class Or AttributeTargets.Method)>
<ComVisible(False)>
NotInheritable Public Class SecureMethodAttribute Inherits Attribute
[C#]
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
[ComVisible(false)]
public sealed class SecureMethodAttribute : Attribute
[C++]
[AttributeUsage(AttributeTargets::Class |
AttributeTargets::Method)]
[ComVisible(false)]
public __gc __sealed class SecureMethodAttribute : public Attribute
[JScript]
public
AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)
ComVisible(false)
class SecureMethodAttribute extends Attribute
スレッドセーフ
この型の public static (Visual Basicでは Shared) のすべてのメンバは、マルチスレッド操作で安全に使用できます。インスタンスのメンバの場合は、スレッドセーフであるとは限りません。
必要条件
名前空間: System.EnterpriseServices
プラットフォーム: Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
アセンブリ: System.Enterpriseservices (System.Enterpriseservices.dll 内)