LoadBalancingSupportedAttribute コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
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