Share via


InterfaceQueuingAttribute Construtores

Definição

Inicializa uma nova instância da classe InterfaceQueuingAttribute, habilitando o suporte ao enfileiramento.

Sobrecargas

InterfaceQueuingAttribute()

Inicializa uma nova instância da classe InterfaceQueuingAttribute definindo as propriedades Enabled e Interface com seus valores padrão.

InterfaceQueuingAttribute(Boolean)

Inicializa uma nova instância da classe InterfaceQueuingAttribute, desabilitando opcionalmente o suporte ao enfileiramento.

InterfaceQueuingAttribute()

Inicializa uma nova instância da classe InterfaceQueuingAttribute definindo as propriedades Enabled e Interface com seus valores padrão.

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

Exemplos

O exemplo de código a seguir cria um novo InterfaceQueuingAttribute.

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

Comentários

A tabela a seguir mostra os valores de propriedade iniciais de uma instância do InterfaceQueuingAttribute.

Propriedade Valor
habilitado true
Interface null

Aplica-se a

InterfaceQueuingAttribute(Boolean)

Inicializa uma nova instância da classe InterfaceQueuingAttribute, desabilitando opcionalmente o suporte ao enfileiramento.

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

Parâmetros

enabled
Boolean

true para habilitar o suporte ao enfileiramento; caso contrário, false.

Exemplos

O exemplo de código a seguir cria um novo 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

Aplica-se a