LoadBalancingSupportedAttribute Konstruktor

Definisi

Menginisialisasi instans baru kelas LoadBalancingSupportedAttribute.

Overload

LoadBalancingSupportedAttribute()

Menginisialisasi instans LoadBalancingSupportedAttribute baru kelas, menentukan dukungan penyeimbangan beban.

LoadBalancingSupportedAttribute(Boolean)

Menginisialisasi instans LoadBalancingSupportedAttribute baru kelas, secara opsional menonaktifkan dukungan penyeimbangan beban.

LoadBalancingSupportedAttribute()

Menginisialisasi instans LoadBalancingSupportedAttribute baru kelas, menentukan dukungan penyeimbangan beban.

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

Contoh

Contoh kode berikut membuat baru LoadBalancingSupportedAttribute.

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

Berlaku untuk

LoadBalancingSupportedAttribute(Boolean)

Menginisialisasi instans LoadBalancingSupportedAttribute baru kelas, secara opsional menonaktifkan dukungan penyeimbangan beban.

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 untuk mengaktifkan dukungan penyeimbangan beban; jika tidak, false.

Contoh

Contoh kode berikut membuat baru LoadBalancingSupportedAttribute.

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

Berlaku untuk