InterfaceQueuingAttribute Konstruktory

Definicja

Inicjuje InterfaceQueuingAttribute nowe wystąpienie klasy, włączając obsługę kolejkowania.

Przeciążenia

InterfaceQueuingAttribute()

Inicjuje InterfaceQueuingAttribute nowe wystąpienie klasy, ustawiając Enabled właściwości i Interface na wartości domyślne.

InterfaceQueuingAttribute(Boolean)

Inicjuje InterfaceQueuingAttribute nowe wystąpienie klasy, opcjonalnie wyłącza obsługę kolejkowania.

InterfaceQueuingAttribute()

Inicjuje InterfaceQueuingAttribute nowe wystąpienie klasy, ustawiając Enabled właściwości i Interface na wartości domyślne.

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

Przykłady

Poniższy przykład kodu tworzy nowy InterfaceQueuingAttributeelement .

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

Uwagi

W poniższej tabeli przedstawiono początkowe wartości właściwości dla wystąpienia klasy InterfaceQueuingAttribute.

Właściwość Wartość
Enabled (Włączony) true
Interfejs null

Dotyczy

InterfaceQueuingAttribute(Boolean)

Inicjuje InterfaceQueuingAttribute nowe wystąpienie klasy, opcjonalnie wyłącza obsługę kolejkowania.

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

Parametry

enabled
Boolean

true aby włączyć obsługę kolejkowania; w przeciwnym razie , false.

Przykłady

Poniższy przykład kodu tworzy nowy InterfaceQueuingAttributeelement .

[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

Dotyczy