Langue

LoadBalancingSupportedAttribute Constructeurs

Définition

Initialise une nouvelle instance de la classe LoadBalancingSupportedAttribute.

Surcharges

Nom Description
LoadBalancingSupportedAttribute()

Initialise une nouvelle instance de la LoadBalancingSupportedAttribute classe, en spécifiant la prise en charge de l’équilibrage de charge.

LoadBalancingSupportedAttribute(Boolean)

Initialise une nouvelle instance de la classe, en désactivant éventuellement la prise en charge de l’équilibrage LoadBalancingSupportedAttribute de charge.

LoadBalancingSupportedAttribute()

Initialise une nouvelle instance de la LoadBalancingSupportedAttribute classe, en spécifiant la prise en charge de l’équilibrage de charge.

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

Exemples

L’exemple de code suivant crée un nouveau LoadBalancingSupportedAttribute.

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

S’applique à

LoadBalancingSupportedAttribute(Boolean)

Initialise une nouvelle instance de la classe, en désactivant éventuellement la prise en charge de l’équilibrage LoadBalancingSupportedAttribute de charge.

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

Paramètres

val
Boolean

true pour activer la prise en charge de l’équilibrage de charge ; sinon, false.

Exemples

L’exemple de code suivant crée un nouveau LoadBalancingSupportedAttribute.

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

S’applique à