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

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

ApplicationQueuingAttribute.Enabled プロパティ

キュー サポートが有効かどうかを示す値を取得または設定します

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

解説解説
使用例使用例

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

' 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 Enabled property.
MsgBox("ApplicationQueuingAttribute.Enabled: " &
 attribute.Enabled)

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

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

// 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 Enabled property.
Console.WriteLine("ApplicationQueuingAttribute.Enabled: {0}",
    attribute.Enabled);

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

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

// 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 Enabled property.
Console.WriteLine("ApplicationQueuingAttribute.Enabled: {0}", 
    System.Convert.ToString(attribute.get_Enabled()));

// Set the Enabled property value of the attribute.
attribute.set_Enabled(false);

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



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

辞書ショートカット

すべての辞書の索引

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

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

   

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



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

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

©2024 GRAS Group, Inc.RSS