InterfaceQueuingAttribute Construtores
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Inicializa uma nova instância da InterfaceQueuingAttribute classe, permitindo suporte para filas.
Sobrecargas
| Name | Description |
|---|---|
| InterfaceQueuingAttribute() |
Inicializa uma nova instância da InterfaceQueuingAttribute classe que define as Enabled propriedades e Interface para os seus valores padrão. |
| InterfaceQueuingAttribute(Boolean) |
Inicializa uma nova instância da InterfaceQueuingAttribute classe, desativando opcionalmente o suporte para filas. |
InterfaceQueuingAttribute()
Inicializa uma nova instância da InterfaceQueuingAttribute classe que define as Enabled propriedades e Interface para os seus valores padrão.
public:
InterfaceQueuingAttribute();
public InterfaceQueuingAttribute();
Public Sub New ()
Exemplos
O seguinte exemplo de código cria um novo InterfaceQueuingAttribute.
[InterfaceQueuing]
interface class IInterfaceQueuingAttribute_Ctor{};
[InterfaceQueuing]
public interface IInterfaceQueuingAttribute_Ctor
{
}
<InterfaceQueuing()> _
Public Interface IInterfaceQueuingAttribute_Ctor
End Interface 'IInterfaceQueuingAttribute_Ctor
Observações
A tabela seguinte mostra os valores iniciais das propriedades para uma instância de InterfaceQueuingAttribute.
| Property | Value |
|---|---|
| Ativado | true |
| Interface | null |
Aplica-se a
InterfaceQueuingAttribute(Boolean)
Inicializa uma nova instância da InterfaceQueuingAttribute classe, desativando opcionalmente o suporte para filas.
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 permitir suporte de filas; caso contrário, false.
Exemplos
O seguinte exemplo de código 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