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

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

ActivationArguments.ActivationContext プロパティ

メモ : このプロパティは、.NET Framework version 2.0新しく追加されたものです。

アプリケーションマニフェストに基づくアクティベーション用のアクティベーション コンテキスト取得します

名前空間: System.Runtime.Hosting
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

Public ReadOnly Property
 ActivationContext As ActivationContext
Dim instance As ActivationArguments
Dim value As ActivationContext

value = instance.ActivationContext
public ActivationContext ActivationContext { get;
 }
public:
property ActivationContext^ ActivationContext {
    ActivationContext^ get ();
}
/** @property */
public ActivationContext get_ActivationContext ()
public function get ActivationContext
 () : ActivationContext

プロパティ
マニフェストに基づくアクティベーション アプリケーション識別する ActivationContext オブジェクト

解説解説
使用例使用例

マニフェストに基づくアプリケーションの ActivationArguments から、ActivationContext プロパティの値を取得する方法次のコード例示します。このコード例は、ActivationArguments クラストピック取り上げているコード例一部分です。

Dim ac As ActivationContext = AppDomain.CurrentDomain.ActivationContext
' Get the ActivationArguments from the SetupInformation property of
 the domain.
Dim activationArgs As ActivationArguments =
 AppDomain.CurrentDomain.SetupInformation.ActivationArguments
' Get the ActivationContext from the ActivationArguments.
Dim actContext As ActivationContext = activationArgs.ActivationContext
Console.WriteLine("The ActivationContext.Form property value is:
 " + _
 activationArgs.ActivationContext.Form.ToString())
// Get the ActivationArguments from the SetupInformation property of
 the domain.
ActivationArguments activationArgs = AppDomain.CurrentDomain.SetupInformation.ActivationArguments;
// Get the ActivationContext from the ActivationArguments.
ActivationContext actContext = activationArgs.ActivationContext;
Console.WriteLine("The ActivationContext.Form property value is: " +
    activationArgs.ActivationContext.Form);
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ActivationArguments クラス
ActivationArguments メンバ
System.Runtime.Hosting 名前空間



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

辞書ショートカット

すべての辞書の索引

「ActivationArguments.ActivationContext プロパティ」の関連用語

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

   

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



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

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

©2025 GRAS Group, Inc.RSS