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.

Недвижимость Ценность
Enabled 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

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