LoadBalancingSupportedAttribute Konstruktoren

Definition

Initialisiert eine neue Instanz der LoadBalancingSupportedAttribute-Klasse.

Überlädt

LoadBalancingSupportedAttribute()

Initialisiert eine neue Instanz der LoadBalancingSupportedAttribute-Klasse und gibt die Unterstützung für den Lastenausgleich an.

LoadBalancingSupportedAttribute(Boolean)

Initialisiert eine neue Instanz der LoadBalancingSupportedAttribute-Klasse und deaktiviert optional die Unterstützung für den Lastenausgleich.

LoadBalancingSupportedAttribute()

Initialisiert eine neue Instanz der LoadBalancingSupportedAttribute-Klasse und gibt die Unterstützung für den Lastenausgleich an.

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

Beispiele

Im folgenden Codebeispiel wird ein neues LoadBalancingSupportedAttributeerstellt.

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

Gilt für:

LoadBalancingSupportedAttribute(Boolean)

Initialisiert eine neue Instanz der LoadBalancingSupportedAttribute-Klasse und deaktiviert optional die Unterstützung für den Lastenausgleich.

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

Parameter

val
Boolean

true, um die Unterstützung für den Lastenausgleich zu aktivieren, andernfalls false.

Beispiele

Im folgenden Codebeispiel wird ein neues LoadBalancingSupportedAttributeerstellt.

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

Gilt für: