LoadBalancingSupportedAttribute Oluşturucular

Tanım

LoadBalancingSupportedAttribute sınıfının yeni bir örneğini başlatır.

Aşırı Yüklemeler

LoadBalancingSupportedAttribute()

Yük dengeleme desteği belirterek sınıfının yeni bir örneğini LoadBalancingSupportedAttribute başlatır.

LoadBalancingSupportedAttribute(Boolean)

İsteğe bağlı olarak yük dengeleme desteğini devre dışı bırakarak sınıfının yeni bir örneğini LoadBalancingSupportedAttribute başlatır.

LoadBalancingSupportedAttribute()

Yük dengeleme desteği belirterek sınıfının yeni bir örneğini LoadBalancingSupportedAttribute başlatır.

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

Örnekler

Aşağıdaki kod örneği yeni LoadBalancingSupportedAttributebir oluşturur.

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

Şunlara uygulanır

LoadBalancingSupportedAttribute(Boolean)

İsteğe bağlı olarak yük dengeleme desteğini devre dışı bırakarak sınıfının yeni bir örneğini LoadBalancingSupportedAttribute başlatır.

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

Parametreler

val
Boolean

true yük dengeleme desteğini etkinleştirmek için; aksi takdirde , false.

Örnekler

Aşağıdaki kod örneği yeni LoadBalancingSupportedAttributebir oluşturur.

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

Şunlara uygulanır