次の方法で共有


InterfaceQueuingAttribute コンストラクタ (Boolean)

InterfaceQueuingAttribute クラスの新しいインスタンスを初期化して、オプションでキュー サポートを無効にします。

名前空間: System.EnterpriseServices
アセンブリ: System.EnterpriseServices (system.enterpriseservices.dll 内)

構文

'宣言
Public Sub New ( _
    enabled As Boolean _
)
'使用
Dim enabled As Boolean

Dim instance As New InterfaceQueuingAttribute(enabled)
public InterfaceQueuingAttribute (
    bool enabled
)
public:
InterfaceQueuingAttribute (
    bool enabled
)
public InterfaceQueuingAttribute (
    boolean enabled
)
public function InterfaceQueuingAttribute (
    enabled : boolean
)

パラメータ

  • enabled
    キュー サポートを有効にする場合は true。それ以外の場合は false

使用例

新しい InterfaceQueuingAttribute を作成するコード例を次に示します。

<InterfaceQueuing(True)>  _
Public Interface IInterfaceQueuingAttribute_Ctor_Bool
End Interface 'IInterfaceQueuingAttribute_Ctor_Bool
[InterfaceQueuing(true)]
public interface IInterfaceQueuingAttribute_Ctor_Bool
{
}
[InterfaceQueuing(true)]
interface class IInterfaceQueuingAttribute_Ctor_Bool{};
/** @attribute InterfaceQueuing(true)
 */
public interface IInterfaceQueuingAttribute_Ctor_Bool
{
} //IInterfaceQueuingAttribute_Ctor_Bool

.NET Framework のセキュリティ

  • 直前の呼び出し元に対する完全な信頼。このメンバは、部分的に信頼されているコードから使用することはできません。詳細については、「」を参照してください。

プラットフォーム

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

参照

関連項目

InterfaceQueuingAttribute クラス
InterfaceQueuingAttribute メンバ
System.EnterpriseServices 名前空間