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) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「LoadBalancingSupportedAttribute クラス」の関連用語

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

   

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



LoadBalancingSupportedAttribute クラスのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2024 GRAS Group, Inc.RSS