InterfaceQueuingAttribute コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
キューのサポートを有効にして、 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のインスタンスの初期プロパティ値を示します。
| 財産 | 価値 |
|---|---|
| 有効 | true |
| Interface | 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