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.

Свойство Значение
Активировано 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

Применяется к