LoadBalancingSupportedAttribute LoadBalancingSupportedAttribute LoadBalancingSupportedAttribute LoadBalancingSupportedAttribute Constructors

Definición

Sobrecargas

LoadBalancingSupportedAttribute() LoadBalancingSupportedAttribute() LoadBalancingSupportedAttribute()

Inicializa una nueva instancia de la clase LoadBalancingSupportedAttribute y especifica la opción de equilibrio de carga.Initializes a new instance of the LoadBalancingSupportedAttribute class, specifying load balancing support.

LoadBalancingSupportedAttribute(Boolean) LoadBalancingSupportedAttribute(Boolean) LoadBalancingSupportedAttribute(Boolean) LoadBalancingSupportedAttribute(Boolean)

Inicializa una nueva instancia de la clase LoadBalancingSupportedAttribute y, opcionalmente, deshabilita la capacidad de equilibrio de carga.Initializes a new instance of the LoadBalancingSupportedAttribute class, optionally disabling load balancing support.

LoadBalancingSupportedAttribute() LoadBalancingSupportedAttribute() LoadBalancingSupportedAttribute()

Inicializa una nueva instancia de la clase LoadBalancingSupportedAttribute y especifica la opción de equilibrio de carga.Initializes a new instance of the LoadBalancingSupportedAttribute class, specifying load balancing support.

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

Ejemplos

En el ejemplo de código siguiente se LoadBalancingSupportedAttributecrea un nuevo.The following code example creates a new LoadBalancingSupportedAttribute.

[LoadBalancingSupported]
public class LoadBalancingSupportedAttribute_Ctor : ServicedComponent
{
}
<LoadBalancingSupported()>  _
Public Class LoadBalancingSupportedAttribute_Ctor
    Inherits ServicedComponent
End Class 'LoadBalancingSupportedAttribute_Ctor

LoadBalancingSupportedAttribute(Boolean) LoadBalancingSupportedAttribute(Boolean) LoadBalancingSupportedAttribute(Boolean) LoadBalancingSupportedAttribute(Boolean)

Inicializa una nueva instancia de la clase LoadBalancingSupportedAttribute y, opcionalmente, deshabilita la capacidad de equilibrio 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 Boolean Boolean Boolean

true para habilitar el equilibrio de carga; en caso contrario, false.true to enable load balancing support; otherwise, false.

Ejemplos

En el ejemplo de código siguiente se LoadBalancingSupportedAttributecrea un nuevo.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 'LoadBalancingSupportedAttribute_Ctor_Bool

Se aplica a