LoadBalancingSupportedAttributeとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > LoadBalancingSupportedAttributeの意味・解説 

LoadBalancingSupportedAttribute クラス

コンポーネントの負荷分散サービスがサーバーにインストールされ有効になっている場合に、コンポーネントを負荷分散に参加させるかどうかを決定します。

名前空間: System.EnterpriseServices
アセンブリ: System.EnterpriseServices (system.enterpriseservices.dll 内)
構文構文

<ComVisibleAttribute(False)> _
<AttributeUsageAttribute(AttributeTargets.Class, Inherited:=True)> _
Public NotInheritable Class
 LoadBalancingSupportedAttribute
    Inherits Attribute
Dim instance As LoadBalancingSupportedAttribute
[ComVisibleAttribute(false)] 
[AttributeUsageAttribute(AttributeTargets.Class, Inherited=true)]
 
public sealed class LoadBalancingSupportedAttribute
 : Attribute
[ComVisibleAttribute(false)] 
[AttributeUsageAttribute(AttributeTargets::Class, Inherited=true)]
 
public ref class LoadBalancingSupportedAttribute
 sealed : public Attribute
/** @attribute ComVisibleAttribute(false) */ 
/** @attribute AttributeUsageAttribute(AttributeTargets.Class, Inherited=true)
 */ 
public final class LoadBalancingSupportedAttribute
 extends Attribute
ComVisibleAttribute(false) 
AttributeUsageAttribute(AttributeTargets.Class, Inherited=true)
 
public final class LoadBalancingSupportedAttribute
 extends Attribute
使用例使用例

LoadBalancingSupportedAttribute 型の使用方法のコード例を次に示します。

Imports System
Imports System.EnterpriseServices
Imports System.Reflection


' References:
' System.EnterpriseServices

<LoadBalancingSupported()>  _
Public Class LoadBalancingSupportedAttribute_Ctor
    Inherits ServicedComponent
End Class 'LoadBalancingSupportedAttribute_Ctor

<LoadBalancingSupported(False)>  _
Public Class LoadBalancingSupportedAttribute_Ctor_Bool
    Inherits ServicedComponent
End Class 'LoadBalancingSupportedAttribute_Ctor_Bool

<LoadBalancingSupported(False)>  _
Public Class LoadBalancingSupportedAttribute_Value
    Inherits ServicedComponent
    
    Public Sub ValueExample() 
        ' Get the LoadBalancingSupportedAttribute applied to the class.
        Dim attribute As LoadBalancingSupportedAttribute
 = CType(Attribute.GetCustomAttribute(Me.GetType(), GetType(LoadBalancingSupportedAttribute),
 False), LoadBalancingSupportedAttribute)
        
        ' Display the value of the attribute's Value property.
        MsgBox("LoadBalancingSupportedAttribute.Value: "
 & attribute.Value)
    
    End Sub 'ValueExample
End Class 'LoadBalancingSupportedAttribute_Value

using System;
using System.EnterpriseServices;
using System.Reflection;

// References:
// System.EnterpriseServices

[LoadBalancingSupported]
public class LoadBalancingSupportedAttribute_Ctor
 : ServicedComponent
{
}

[LoadBalancingSupported(false)]
public class LoadBalancingSupportedAttribute_Ctor_Bool
 : ServicedComponent
{
}

[LoadBalancingSupported(false)]
public class LoadBalancingSupportedAttribute_Value
 : ServicedComponent
{
    public void ValueExample()
    {
        // Get the LoadBalancingSupportedAttribute applied to the class.
        LoadBalancingSupportedAttribute attribute =
            (LoadBalancingSupportedAttribute)Attribute.GetCustomAttribute(
            this.GetType(),
            typeof(LoadBalancingSupportedAttribute),
            false);

        // Display the value of the attribute's Value property.
        Console.WriteLine("LoadBalancingSupportedAttribute.Value: {0}"
,
            attribute.Value);
    }
}

import System.*;
import System.EnterpriseServices.*;
import System.Reflection.*;

// References:
// System.EnterpriseServices

/** @attribute LoadBalancingSupported()
 */
public class LoadBalancingSupportedAttribute_Ctor
 extends ServicedComponent
{
} //LoadBalancingSupportedAttribute_Ctor

/** @attribute LoadBalancingSupported(false)
 */
public class LoadBalancingSupportedAttribute_Ctor_Bool
 extends ServicedComponent
{
} //LoadBalancingSupportedAttribute_Ctor_Bool

/** @attribute LoadBalancingSupported(false)
 */
public class LoadBalancingSupportedAttribute_Value
 extends ServicedComponent
{
    public void ValueExample()
    {
        // Get the LoadBalancingSupportedAttribute applied to the class.
        LoadBalancingSupportedAttribute attribute = 
            (LoadBalancingSupportedAttribute)(Attribute.GetCustomAttribute(
            this.GetType(), LoadBalancingSupportedAttribute.class.ToType()
,
            false));

        // Display the value of the attribute's Value property.
        Console.WriteLine("LoadBalancingSupportedAttribute.Value: {0}"
,
            (System.Boolean)attribute.get_Value());
    } //ValueExample
} //LoadBalancingSupportedAttribute_Value
継承階層継承階層
System.Object
   System.Attribute
    System.EnterpriseServices.LoadBalancingSupportedAttribute
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照

LoadBalancingSupportedAttribute コンストラクタ ()

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

名前空間: System.EnterpriseServices
アセンブリ: System.EnterpriseServices (system.enterpriseservices.dll 内)
構文構文

Dim instance As New LoadBalancingSupportedAttribute
public LoadBalancingSupportedAttribute ()
public:
LoadBalancingSupportedAttribute ()
public LoadBalancingSupportedAttribute ()
public function LoadBalancingSupportedAttribute
 ()
使用例使用例

新しい LoadBalancingSupportedAttribute を作成するコード例を次に示します。

<LoadBalancingSupported()>  _
Public Class LoadBalancingSupportedAttribute_Ctor
    Inherits ServicedComponent
End Class 'LoadBalancingSupportedAttribute_Ctor
[LoadBalancingSupported]
public class LoadBalancingSupportedAttribute_Ctor
 : ServicedComponent
{
}
/** @attribute LoadBalancingSupported()
 */
public class LoadBalancingSupportedAttribute_Ctor
 extends ServicedComponent
{
} //LoadBalancingSupportedAttribute_Ctor
.NET Framework のセキュリティ.NET Framework のセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
LoadBalancingSupportedAttribute クラス
LoadBalancingSupportedAttribute メンバ
System.EnterpriseServices 名前空間

LoadBalancingSupportedAttribute コンストラクタ

LoadBalancingSupportedAttribute クラスの新しいインスタンスを初期化します。
オーバーロードの一覧オーバーロードの一覧

名前 説明
LoadBalancingSupportedAttribute () LoadBalancingSupportedAttribute クラスの新しいインスタンスを初期化して、負荷分散サポートを指定します。
LoadBalancingSupportedAttribute (Boolean) LoadBalancingSupportedAttribute クラスの新しいインスタンスを初期化して、オプションで負荷分散サポートを無効にします。
参照参照

関連項目

LoadBalancingSupportedAttribute クラス
LoadBalancingSupportedAttribute メンバ
System.EnterpriseServices 名前空間

LoadBalancingSupportedAttribute コンストラクタ (Boolean)

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

名前空間: System.EnterpriseServices
アセンブリ: System.EnterpriseServices (system.enterpriseservices.dll 内)
構文構文

Dim val As Boolean

Dim instance As New LoadBalancingSupportedAttribute(val)
public LoadBalancingSupportedAttribute (
    bool val
)
public:
LoadBalancingSupportedAttribute (
    bool val
)
public LoadBalancingSupportedAttribute (
    boolean val
)
public function LoadBalancingSupportedAttribute
 (
    val : boolean
)

パラメータ

val

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

使用例使用例

新しい LoadBalancingSupportedAttribute を作成するコード例を次に示します。

<LoadBalancingSupported(False)>  _
Public Class LoadBalancingSupportedAttribute_Ctor_Bool
    Inherits ServicedComponent
End Class 'LoadBalancingSupportedAttribute_Ctor_Bool
[LoadBalancingSupported(false)]
public class LoadBalancingSupportedAttribute_Ctor_Bool
 : ServicedComponent
{
}
/** @attribute LoadBalancingSupported(false)
 */
public class LoadBalancingSupportedAttribute_Ctor_Bool
 extends ServicedComponent
{
} //LoadBalancingSupportedAttribute_Ctor_Bool
.NET Framework のセキュリティ.NET Framework のセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
LoadBalancingSupportedAttribute クラス
LoadBalancingSupportedAttribute メンバ
System.EnterpriseServices 名前空間

LoadBalancingSupportedAttribute プロパティ


LoadBalancingSupportedAttribute メソッド


パブリック メソッドパブリック メソッド

( プロテクト メソッド も参照)
  名前 説明
パブリック メソッド Equals  オーバーロードされます。 ( Attribute から継承されます。)
パブリック メソッド GetCustomAttribute  オーバーロードされます。 アセンブリ、モジュール、型のメンバ、またはメソッド パラメータに適用された指定した型のカスタム属性を取得します。 ( Attribute から継承されます。)
パブリック メソッド GetCustomAttributes  オーバーロードされます。 アセンブリ、モジュール、型のメンバ、またはメソッド パラメータに適用されたカスタム属性の配列を取得します。 ( Attribute から継承されます。)
パブリック メソッド GetHashCode  このインスタンスのハッシュ コードを返します。 ( Attribute から継承されます。)
パブリック メソッド GetType  現在のインスタンスの Type を取得します。 ( Object から継承されます。)
パブリック メソッド IsDefaultAttribute  派生クラス内でオーバーライドされたときに、このインスタンスの値が派生クラスの既定値かどうかを示します。 ( Attribute から継承されます。)
パブリック メソッド IsDefined  オーバーロードされます。 指定した型のカスタム属性が、アセンブリ、モジュール、型のメンバ、またはメソッド パラメータに適用されているかどうかを判断します。 ( Attribute から継承されます。)
パブリック メソッド Match  派生クラス内でオーバーライドされたときに、指定したオブジェクトとこのインスタンスが等しいかどうかを示す値を返します。 ( Attribute から継承されます。)
パブリック メソッド ReferenceEquals  指定した複数の Object インスタンスが同一かどうかを判断します。 ( Object から継承されます。)
パブリック メソッド ToString  現在の Object を表す String を返します。 ( Object から継承されます。)
プロテクト メソッドプロテクト メソッド
参照参照

関連項目

LoadBalancingSupportedAttribute クラス
System.EnterpriseServices 名前空間

LoadBalancingSupportedAttribute メンバ

コンポーネントの負荷分散サービスがサーバーにインストールされ有効になっている場合に、コンポーネントを負荷分散に参加させるかどうかを決定します。

LoadBalancingSupportedAttribute データ型で公開されるメンバを以下の表に示します。


パブリック コンストラクタパブリック コンストラクタ
  名前 説明
パブリック メソッド LoadBalancingSupportedAttribute オーバーロードされます。 LoadBalancingSupportedAttribute クラスの新しいインスタンスを初期化します。
パブリック プロパティパブリック プロパティ
パブリック メソッドパブリック メソッド
( プロテクト メソッド も参照)
  名前 説明
パブリック メソッド Equals  オーバーロードされます。 ( Attribute から継承されます。)
パブリック メソッド GetCustomAttribute  オーバーロードされます。 アセンブリ、モジュール、型のメンバ、またはメソッド パラメータに適用された指定した型のカスタム属性を取得します。 (Attribute から継承されます。)
パブリック メソッド GetCustomAttributes  オーバーロードされます。 アセンブリ、モジュール、型のメンバ、またはメソッド パラメータに適用されたカスタム属性の配列を取得します。 (Attribute から継承されます。)
パブリック メソッド GetHashCode  このインスタンスのハッシュ コードを返します。 (Attribute から継承されます。)
パブリック メソッド GetType  現在のインスタンスの Type を取得します。 (Object から継承されます。)
パブリック メソッド IsDefaultAttribute  派生クラス内でオーバーライドされたときに、このインスタンスの値が派生クラスの既定値かどうかを示します。 (Attribute から継承されます。)
パブリック メソッド IsDefined  オーバーロードされます。 指定した型のカスタム属性が、アセンブリ、モジュール、型のメンバ、またはメソッド パラメータに適用されているかどうかを判断します。 (Attribute から継承されます。)
パブリック メソッド Match  派生クラス内でオーバーライドされたときに、指定したオブジェクトとこのインスタンスが等しいかどうかを示す値を返します。 (Attribute から継承されます。)
パブリック メソッド ReferenceEquals  指定した複数の Object インスタンスが同一かどうかを判断します。 (Object から継承されます。)
パブリック メソッド ToString  現在の Object を表す String を返します。 (Object から継承されます。)
プロテクト メソッドプロテクト メソッド
参照参照

関連項目

LoadBalancingSupportedAttribute クラス
System.EnterpriseServices 名前空間



英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

「LoadBalancingSupportedAttribute」の関連用語

LoadBalancingSupportedAttributeのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



LoadBalancingSupportedAttributeのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS