ApplicationQueuingAttribute.QueueListenerEnabled プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > ApplicationQueuingAttribute.QueueListenerEnabled プロパティの意味・解説 

ApplicationQueuingAttribute.QueueListenerEnabled プロパティ

クライアントからのキュー コンポーネント呼び出しアプリケーション受け入れかどうかを示す値を取得または設定します

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

Public Property QueueListenerEnabled As
 Boolean
Dim instance As ApplicationQueuingAttribute
Dim value As Boolean

value = instance.QueueListenerEnabled

instance.QueueListenerEnabled = value
public bool QueueListenerEnabled { get;
 set; }
public:
property bool QueueListenerEnabled {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_QueueListenerEnabled ()

/** @property */
public void set_QueueListenerEnabled (boolean
 value)
public function get QueueListenerEnabled
 () : boolean

public function set QueueListenerEnabled
 (value : boolean)

プロパティ
キュー コンポーネント呼び出しアプリケーション受け入れ場合trueそれ以外場合false既定値false です。

使用例使用例

ApplicationQueuing 属性QueueListenerEnabled プロパティの値の取得設定を行うコード例次に示します

' This example code requires that an ApplicationQueuing attribute be
' applied to the assembly, as shown below:
' [assembly: ApplicationQueuing]
' Get the ApplicationQueuingAttribute applied to the assembly.
Dim attribute As ApplicationQueuingAttribute
 = CType(attribute.GetCustomAttribute(System.Reflection.Assembly.GetExecutingAssembly(),
 GetType(ApplicationQueuingAttribute), False), ApplicationQueuingAttribute)

' Display the current value of the attribute's QueueListenerEnabled
' property.
MsgBox("ApplicationQueuingAttribute.QueueListenerEnabled: "
 & attribute.Enabled)

' Set the QueueListenerEnabled property value of the attribute.
attribute.QueueListenerEnabled = False

' Display the new value of the attribute's QueueListenerEnabled
' property.
MsgBox("ApplicationQueuingAttribute.QueueListenerEnabled: "
 & attribute.QueueListenerEnabled)

// This example code requires that an ApplicationQueuing attribute be
// applied to the assembly, as shown below:
// [assembly: ApplicationQueuing]

// Get the ApplicationQueuingAttribute applied to the assembly.
ApplicationQueuingAttribute attribute =
    (ApplicationQueuingAttribute)Attribute.GetCustomAttribute(
    System.Reflection.Assembly.GetExecutingAssembly(),
    typeof(ApplicationQueuingAttribute),
    false);

// Display the current value of the attribute's QueueListenerEnabled
// property.
Console.WriteLine(
    "ApplicationQueuingAttribute.QueueListenerEnabled: {0}",
    attribute.Enabled);

// Set the QueueListenerEnabled property value of the attribute.
attribute.QueueListenerEnabled = false;

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

// This example code requires that an ApplicationQueuing attribute be
// applied to the assembly, as shown below:
// /** @assembly ApplicationQueuing 
//  */
// Get the ApplicationQueuingAttribute applied to the assembly.
ApplicationQueuingAttribute attribute = (ApplicationQueuingAttribute)(
    Attribute.GetCustomAttribute(System.Reflection.Assembly.
    GetExecutingAssembly(), ApplicationQueuingAttribute.class.ToType()
,
    false));
// Display the current value of the attribute's QueueListenerEnabled
// property.
Console.WriteLine(
    "ApplicationQueuingAttribute.QueueListenerEnabled: {0}",
    System.Convert.ToString(attribute.get_Enabled()));

// Set the QueueListenerEnabled property value of the attribute.
attribute.set_QueueListenerEnabled(false);

// Display the new value of the attribute's QueueListenerEnabled
// property.
Console.WriteLine(
    "ApplicationQueuingAttribute.QueueListenerEnabled: {0}",
    System.Convert.ToString(attribute.get_QueueListenerEnabled()));
.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ApplicationQueuingAttribute クラス
ApplicationQueuingAttribute メンバ
System.EnterpriseServices 名前空間



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

辞書ショートカット

すべての辞書の索引

「ApplicationQueuingAttribute.QueueListenerEnabled プロパティ」の関連用語

ApplicationQueuingAttribute.QueueListenerEnabled プロパティのお隣キーワード
検索ランキング

   

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



ApplicationQueuingAttribute.QueueListenerEnabled プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2024 GRAS Group, Inc.RSS