LoadBalancingSupportedAttribute コンストラクター

定義

LoadBalancingSupportedAttribute クラスの新しいインスタンスを初期化します。

オーバーロード

LoadBalancingSupportedAttribute()

LoadBalancingSupportedAttribute クラスの新しいインスタンスを初期化して、負荷分散サポートを指定します。

LoadBalancingSupportedAttribute(Boolean)

LoadBalancingSupportedAttribute クラスの新しいインスタンスを初期化して、オプションで負荷分散サポートを無効にします。

LoadBalancingSupportedAttribute()

LoadBalancingSupportedAttribute クラスの新しいインスタンスを初期化して、負荷分散サポートを指定します。

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

次のコード例では、新しい LoadBalancingSupportedAttribute を作成します。

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

適用対象

LoadBalancingSupportedAttribute(Boolean)

LoadBalancingSupportedAttribute クラスの新しいインスタンスを初期化して、オプションで負荷分散サポートを無効にします。

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

パラメーター

val
Boolean

負荷分散サポートを有効にする場合は true、それ以外の場合は false

次のコード例では、新しい LoadBalancingSupportedAttribute を作成します。

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

適用対象