LoadBalancingSupportedAttribute Konstruktoren

Definition

Initialisiert eine neue Instanz der LoadBalancingSupportedAttribute-Klasse.

Überlädt

Name Beschreibung
LoadBalancingSupportedAttribute()

Initialisiert eine neue Instanz der LoadBalancingSupportedAttribute Klasse, wobei die Unterstützung des Lastenausgleichs angegeben wird.

LoadBalancingSupportedAttribute(Boolean)

Initialisiert eine neue Instanz der LoadBalancingSupportedAttribute Klasse, optional wird die Unterstützung des Lastenausgleichs deaktiviert.

LoadBalancingSupportedAttribute()

Initialisiert eine neue Instanz der LoadBalancingSupportedAttribute Klasse, wobei die Unterstützung des Lastenausgleichs angegeben wird.

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

Beispiele

Im folgenden Codebeispiel wird ein neues LoadBalancingSupportedAttribute.

[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, optional wird die Unterstützung des Lastenausgleichs deaktiviert.

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

truedie Unterstützung des Lastenausgleichs zu ermöglichen; andernfalls . false

Beispiele

Im folgenden Codebeispiel wird ein neues LoadBalancingSupportedAttribute.

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

Gilt für: