LoadBalancingSupportedAttribute Costruttori

Definizione

Inizializza una nuova istanza della classe LoadBalancingSupportedAttribute.

Overload

LoadBalancingSupportedAttribute()

Consente di inizializzare una nuova istanza della classe LoadBalancingSupportedAttribute, specificando il supporto per il bilanciamento del carico.

LoadBalancingSupportedAttribute(Boolean)

Consente di inizializzare una nuova istanza della classe LoadBalancingSupportedAttribute, disattivando eventualmente il supporto per il bilanciamento del carico.

LoadBalancingSupportedAttribute()

Consente di inizializzare una nuova istanza della classe LoadBalancingSupportedAttribute, specificando il supporto per il bilanciamento del carico.

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

Esempio

Nell'esempio di codice seguente viene creato un nuovo LoadBalancingSupportedAttributeoggetto .

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

Si applica a

LoadBalancingSupportedAttribute(Boolean)

Consente di inizializzare una nuova istanza della classe LoadBalancingSupportedAttribute, disattivando eventualmente il supporto per il bilanciamento del carico.

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

Parametri

val
Boolean

true per attivare il supporto per il bilanciamento del carico, in caso contrario false.

Esempio

Nell'esempio di codice seguente viene creato un nuovo LoadBalancingSupportedAttributeoggetto .

[LoadBalancingSupported(false)]
public class LoadBalancingSupportedAttribute_Ctor_Bool : ServicedComponent
{
}
<LoadBalancingSupported(False)>  _
Public Class LoadBalancingSupportedAttribute_Ctor_Bool
    Inherits ServicedComponent
End Class

Si applica a