Språk

LoadBalancingSupportedAttribute Konstruktorer

Definition

Initierar en ny instans av LoadBalancingSupportedAttribute klassen.

Överlagringar

Name Description
LoadBalancingSupportedAttribute()

Initierar en ny instans av LoadBalancingSupportedAttribute klassen och anger stöd för belastningsutjämning.

LoadBalancingSupportedAttribute(Boolean)

Initierar en ny instans av LoadBalancingSupportedAttribute klassen och inaktiverar eventuellt stöd för belastningsutjämning.

LoadBalancingSupportedAttribute()

Initierar en ny instans av LoadBalancingSupportedAttribute klassen och anger stöd för belastningsutjämning.

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

Exempel

I följande kodexempel skapas en ny LoadBalancingSupportedAttribute.

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

Gäller för

LoadBalancingSupportedAttribute(Boolean)

Initierar en ny instans av LoadBalancingSupportedAttribute klassen och inaktiverar eventuellt stöd för belastningsutjämning.

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

Parametrar

val
Boolean

trueför att aktivera stöd för belastningsutjämning. annars . false

Exempel

I följande kodexempel skapas en ny LoadBalancingSupportedAttribute.

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

Gäller för