LoadBalancingSupportedAttribute Construtores
Definição
Inicializa uma nova instância da classe LoadBalancingSupportedAttribute.Initializes a new instance of the LoadBalancingSupportedAttribute class.
Sobrecargas
| LoadBalancingSupportedAttribute() |
Inicializa uma nova instância da classe LoadBalancingSupportedAttribute, especificando o suporte ao balanceamento de carga.Initializes a new instance of the LoadBalancingSupportedAttribute class, specifying load balancing support. |
| LoadBalancingSupportedAttribute(Boolean) |
Inicializa uma nova instância da classe LoadBalancingSupportedAttribute, desabilitando opcionalmente o suporte ao balanceamento de carga.Initializes a new instance of the LoadBalancingSupportedAttribute class, optionally disabling load balancing support. |
LoadBalancingSupportedAttribute()
Inicializa uma nova instância da classe LoadBalancingSupportedAttribute, especificando o suporte ao balanceamento de carga.Initializes a new instance of the LoadBalancingSupportedAttribute class, specifying load balancing support.
public:
LoadBalancingSupportedAttribute();
public LoadBalancingSupportedAttribute ();
Public Sub New ()
Exemplos
O exemplo de código a seguir cria um novo LoadBalancingSupportedAttribute .The following code example creates a new LoadBalancingSupportedAttribute.
[LoadBalancingSupported]
public class LoadBalancingSupportedAttribute_Ctor : ServicedComponent
{
}
<LoadBalancingSupported()> _
Public Class LoadBalancingSupportedAttribute_Ctor
Inherits ServicedComponent
End Class
Aplica-se a
LoadBalancingSupportedAttribute(Boolean)
Inicializa uma nova instância da classe LoadBalancingSupportedAttribute, desabilitando opcionalmente o suporte ao balanceamento de carga.Initializes a new instance of the LoadBalancingSupportedAttribute class, optionally disabling load balancing support.
public:
LoadBalancingSupportedAttribute(bool val);
public LoadBalancingSupportedAttribute (bool val);
new System.EnterpriseServices.LoadBalancingSupportedAttribute : bool -> System.EnterpriseServices.LoadBalancingSupportedAttribute
Public Sub New (val As Boolean)
Parâmetros
- val
- Boolean
true para habilitar o suporte ao balanceamento de carga; caso contrário, false.true to enable load balancing support; otherwise, false.
Exemplos
O exemplo de código a seguir cria um novo LoadBalancingSupportedAttribute .The following code example creates a new LoadBalancingSupportedAttribute.
[LoadBalancingSupported(false)]
public class LoadBalancingSupportedAttribute_Ctor_Bool : ServicedComponent
{
}
<LoadBalancingSupported(False)> _
Public Class LoadBalancingSupportedAttribute_Ctor_Bool
Inherits ServicedComponent
End Class