InterfaceQueuingAttribute Konstruktory
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Inicializuje novou instanci InterfaceQueuingAttribute třídy, což umožňuje podporu řízení front.
Přetížení
| Name | Description |
|---|---|
| InterfaceQueuingAttribute() |
Inicializuje novou instanci InterfaceQueuingAttribute třídy nastavení Enabled a Interface vlastnosti na jejich výchozí hodnoty. |
| InterfaceQueuingAttribute(Boolean) |
Inicializuje novou instanci InterfaceQueuingAttribute třídy, volitelně zakázání podpory front. |
InterfaceQueuingAttribute()
Inicializuje novou instanci InterfaceQueuingAttribute třídy nastavení Enabled a Interface vlastnosti na jejich 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
V následující tabulce jsou uvedeny počáteční hodnoty vlastností pro instanci InterfaceQueuingAttribute.
| Vlastnictví | Hodnota |
|---|---|
| Enabled | true |
| Interface | null |
Platí pro
InterfaceQueuingAttribute(Boolean)
Inicializuje novou instanci InterfaceQueuingAttribute třídy, volitelně zakázání podpory 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
truepovolení podpory řízení front; 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