InterfaceQueuingAttribute Konstruktory

Definice

Inicializuje novou instanci InterfaceQueuingAttribute třídy povolením podpory řazení do fronty.

Přetížení

InterfaceQueuingAttribute()

Inicializuje novou instanci třídy, která InterfaceQueuingAttributeEnabled nastaví vlastnosti a Interface na výchozí hodnoty.

InterfaceQueuingAttribute(Boolean)

Inicializuje novou instanci InterfaceQueuingAttribute třídy, volitelně zakáže podporu front.

InterfaceQueuingAttribute()

Inicializuje novou instanci třídy, která InterfaceQueuingAttributeEnabled nastaví vlastnosti a Interface na výchozí hodnoty.

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

Příklady

Následující příklad kódu vytvoří nový InterfaceQueuingAttribute.

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

Poznámky

Následující tabulka uvádí počáteční hodnoty vlastností pro instanci .InterfaceQueuingAttribute

Vlastnost Hodnota
Povoleno true
Rozhraní null

Platí pro

InterfaceQueuingAttribute(Boolean)

Inicializuje novou instanci InterfaceQueuingAttribute třídy, volitelně zakáže podporu front.

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

truepovolit podporu řazení do fronty; v opačném případě . false

Příklady

Následující příklad kódu vytvoří nový 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

Platí pro