SecureMethodAttributeとは何? わかりやすく解説 Weblio辞書 (original) (raw)
SecureMethodAttribute クラス
セキュリティ サービスを使用した場合に、メソッドのインターフェイスまたはクラス内の各メソッドのインターフェイスを通じてインフラストラクチャの呼び出しが行われるようにします。クラスはインターフェイスでセキュリティ サービスを使用する必要があります。このクラスは継承できません。
名前空間: System.EnterpriseServices
アセンブリ: System.EnterpriseServices (system.enterpriseservices.dll 内)
構文
<ComVisibleAttribute(False)> _ <AttributeUsageAttribute(AttributeTargets.Class Or AttributeTargets.Method, Inherited:=True, AllowMultiple:=False)> _ Public NotInheritable Class SecureMethodAttribute Inherits Attribute
Dim instance As SecureMethodAttribute
[ComVisibleAttribute(false)] [AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Method, Inherited=true, AllowMultiple=false)] public sealed class SecureMethodAttribute : Attribute
[ComVisibleAttribute(false)] [AttributeUsageAttribute(AttributeTargets::Class|AttributeTargets::Method, Inherited=true, AllowMultiple=false)] public ref class SecureMethodAttribute sealed : public Attribute
/** @attribute ComVisibleAttribute(false) / /* @attribute AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Method, Inherited=true, AllowMultiple=false) */ public final class SecureMethodAttribute extends Attribute
ComVisibleAttribute(false) AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Method, Inherited=true, AllowMultiple=false) public final class SecureMethodAttribute extends Attribute
SecureMethod を指定した場合、COM+ カタログでは無効にしないでください。逆に、COM+ カタログで有効にした場合は、コンポーネントで指定する必要があります。
System.Object
System.Attribute
System.EnterpriseServices.SecureMethodAttribute
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。
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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
.NET Framework
サポート対象 : 2.0、1.1、1.0
関連項目
SecureMethodAttribute メンバ
System.EnterpriseServices 名前空間
SecureMethodAttribute コンストラクタ
SecureMethodAttribute クラスの新しいインスタンスを初期化します。
名前空間: System.EnterpriseServices
アセンブリ: System.EnterpriseServices (system.enterpriseservices.dll 内)
構文
Dim instance As New SecureMethodAttribute
public SecureMethodAttribute ()
public: SecureMethodAttribute ()
public SecureMethodAttribute ()
public function SecureMethodAttribute ()
SecureMethodAttribute はクラスにもメソッドにも適用できます。
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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
.NET Framework
サポート対象 : 2.0、1.1、1.0
関連項目
SecureMethodAttribute クラス
SecureMethodAttribute メンバ
System.EnterpriseServices 名前空間
SecureMethodAttribute プロパティ
| | 名前 | 説明 | |
| --------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
| TypeId | 派生クラスに実装されている場合は、この Attribute の一意の識別子を取得します。 (Attribute から継承されます。) |
関連項目
SecureMethodAttribute クラス
System.EnterpriseServices 名前空間
SecureMethodAttribute メソッド
| | 名前 | 説明 | |
| ------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| Equals | オーバーロードされます。 (Attribute から継承されます。) |
|
| GetCustomAttribute | オーバーロードされます。 アセンブリ、モジュール、型のメンバ、またはメソッド パラメータに適用された指定した型のカスタム属性を取得します。 (Attribute から継承されます。) |
|
| GetCustomAttributes | オーバーロードされます。 アセンブリ、モジュール、型のメンバ、またはメソッド パラメータに適用されたカスタム属性の配列を取得します。 (Attribute から継承されます。) |
|
| GetHashCode | このインスタンスのハッシュ コードを返します。 (Attribute から継承されます。) |
|
| GetType | 現在のインスタンスの Type を取得します。 (Object から継承されます。) |
|
| IsDefaultAttribute | 派生クラス内でオーバーライドされたときに、このインスタンスの値が派生クラスの既定値かどうかを示します。 (Attribute から継承されます。) |
|
| IsDefined | オーバーロードされます。 指定した型のカスタム属性が、アセンブリ、モジュール、型のメンバ、またはメソッド パラメータに適用されているかどうかを判断します。 (Attribute から継承されます。) |
|
| Match | 派生クラス内でオーバーライドされたときに、指定したオブジェクトとこのインスタンスが等しいかどうかを示す値を返します。 (Attribute から継承されます。) |
|
| ReferenceEquals | 指定した複数の Object インスタンスが同一かどうかを判断します。 (Object から継承されます。) |
|
| ToString | 現在の Object を表す String を返します。 (Object から継承されます。) |
| | 名前 | 説明 | |
| ------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| Finalize | Object がガベージ コレクションにより収集される前に、その Object がリソースを解放し、その他のクリーンアップ操作を実行できるようにします。 (Object から継承されます。) |
|
| MemberwiseClone | 現在の Object の簡易コピーを作成します。 (Object から継承されます。) |
関連項目
SecureMethodAttribute クラス
System.EnterpriseServices 名前空間
SecureMethodAttribute メンバ
セキュリティ サービスを使用した場合に、メソッドのインターフェイスまたはクラス内の各メソッドのインターフェイスを通じてインフラストラクチャの呼び出しが行われるようにします。クラスはインターフェイスでセキュリティ サービスを使用する必要があります。このクラスは継承できません。
SecureMethodAttributeデータ型で公開されるメンバを以下の表に示します。
| | 名前 | 説明 | |
| ------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| SecureMethodAttribute | SecureMethodAttribute クラスの新しいインスタンスを初期化します。 |
| | 名前 | 説明 | |
| --------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| TypeId | 派生クラスに実装されている場合は、この Attribute の一意の識別子を取得します。(Attribute から継承されます。) |
| | 名前 | 説明 | |
| ------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| Equals | オーバーロードされます。 (Attribute から継承されます。) |
|
| GetCustomAttribute | オーバーロードされます。 アセンブリ、モジュール、型のメンバ、またはメソッド パラメータに適用された指定した型のカスタム属性を取得します。 (Attribute から継承されます。) |
|
| GetCustomAttributes | オーバーロードされます。 アセンブリ、モジュール、型のメンバ、またはメソッド パラメータに適用されたカスタム属性の配列を取得します。 (Attribute から継承されます。) |
|
| GetHashCode | このインスタンスのハッシュ コードを返します。 (Attribute から継承されます。) |
|
| GetType | 現在のインスタンスの Type を取得します。 (Object から継承されます。) |
|
| IsDefaultAttribute | 派生クラス内でオーバーライドされたときに、このインスタンスの値が派生クラスの既定値かどうかを示します。 (Attribute から継承されます。) |
|
| IsDefined | オーバーロードされます。 指定した型のカスタム属性が、アセンブリ、モジュール、型のメンバ、またはメソッド パラメータに適用されているかどうかを判断します。 (Attribute から継承されます。) |
|
| Match | 派生クラス内でオーバーライドされたときに、指定したオブジェクトとこのインスタンスが等しいかどうかを示す値を返します。 (Attribute から継承されます。) |
|
| ReferenceEquals | 指定した複数の Object インスタンスが同一かどうかを判断します。 (Object から継承されます。) |
|
| ToString | 現在の Object を表す String を返します。 (Object から継承されます。) |
| | 名前 | 説明 | |
| ------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| Finalize | Object がガベージ コレクションにより収集される前に、その Object がリソースを解放し、その他のクリーンアップ操作を実行できるようにします。 (Object から継承されます。) |
|
| MemberwiseClone | 現在の Object の簡易コピーを作成します。 (Object から継承されます。) |
関連項目
SecureMethodAttribute クラス
System.EnterpriseServices 名前空間