LoadBalancingSupportedAttribute Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy LoadBalancingSupportedAttribute.

Przeciążenia

LoadBalancingSupportedAttribute()

Inicjuje LoadBalancingSupportedAttribute nowe wystąpienie klasy, określając obsługę równoważenia obciążenia.

LoadBalancingSupportedAttribute(Boolean)

Inicjuje LoadBalancingSupportedAttribute nowe wystąpienie klasy, opcjonalnie wyłączając obsługę równoważenia obciążenia.

LoadBalancingSupportedAttribute()

Inicjuje LoadBalancingSupportedAttribute nowe wystąpienie klasy, określając obsługę równoważenia obciążenia.

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

Przykłady

Poniższy przykład kodu tworzy nowy LoadBalancingSupportedAttributeelement .

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

Dotyczy

LoadBalancingSupportedAttribute(Boolean)

Inicjuje LoadBalancingSupportedAttribute nowe wystąpienie klasy, opcjonalnie wyłączając obsługę równoważenia obciążenia.

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

Parametry

val
Boolean

true w celu włączenia obsługi równoważenia obciążenia; w przeciwnym razie , false.

Przykłady

Poniższy przykład kodu tworzy nowy LoadBalancingSupportedAttributeelement .

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

Dotyczy