Share via


InterfaceQueuingAttribute コンストラクター

定義

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

オーバーロード

InterfaceQueuingAttribute()

InterfaceQueuingAttribute クラスの新しいインスタンスを初期化して、Enabled プロパティおよび Interface プロパティを既定値に設定します。

InterfaceQueuingAttribute(Boolean)

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

InterfaceQueuingAttribute()

InterfaceQueuingAttribute クラスの新しいインスタンスを初期化して、Enabled プロパティおよび Interface プロパティを既定値に設定します。

public:
 InterfaceQueuingAttribute();
public InterfaceQueuingAttribute ();
Public Sub New ()

次のコード例では、新しい InterfaceQueuingAttribute を作成します。

[InterfaceQueuing]
interface class IInterfaceQueuingAttribute_Ctor{};
[InterfaceQueuing]
public interface IInterfaceQueuingAttribute_Ctor
{
}
<InterfaceQueuing()>  _
Public Interface IInterfaceQueuingAttribute_Ctor
End Interface 'IInterfaceQueuingAttribute_Ctor

注釈

のインスタンスの初期プロパティ値を次の InterfaceQueuingAttribute表に示します。

プロパティ
Enabled true
インターフェイス null

適用対象

InterfaceQueuingAttribute(Boolean)

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

public:
 InterfaceQueuingAttribute(bool enabled);
public InterfaceQueuingAttribute (bool enabled);
new System.EnterpriseServices.InterfaceQueuingAttribute : bool -> System.EnterpriseServices.InterfaceQueuingAttribute
Public Sub New (enabled As Boolean)

パラメーター

enabled
Boolean

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

次のコード例では、新しい InterfaceQueuingAttribute を作成します。

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

適用対象