Sdílet prostřednictvím


LoadBalancingSupportedAttribute Konstruktory

Definice

Inicializuje novou instanci LoadBalancingSupportedAttribute třídy.

Přetížení

LoadBalancingSupportedAttribute()

Inicializuje novou instanci LoadBalancingSupportedAttribute třídy a určuje podporu vyrovnávání zatížení.

LoadBalancingSupportedAttribute(Boolean)

Inicializuje novou instanci LoadBalancingSupportedAttribute třídy, volitelně zakáže podporu vyrovnávání zatížení.

LoadBalancingSupportedAttribute()

Inicializuje novou instanci LoadBalancingSupportedAttribute třídy a určuje podporu vyrovnávání zatížení.

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

Příklady

Následující příklad kódu vytvoří nový LoadBalancingSupportedAttribute.

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

Platí pro

LoadBalancingSupportedAttribute(Boolean)

Inicializuje novou instanci LoadBalancingSupportedAttribute třídy, volitelně zakáže podporu vyrovnávání zatížení.

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

truepovolit podporu vyrovnávání zatížení; v opačném případě . false

Příklady

Následující příklad kódu vytvoří nový LoadBalancingSupportedAttribute.

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

Platí pro