RegistrationHelper.InstallAssemblyFromConfig メソッドとは? わかりやすく解説

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

RegistrationHelper.InstallAssemblyFromConfig メソッド

前付アセンブリCOM+ アプリケーションインストールます。

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

Public Sub InstallAssemblyFromConfig ( _
    ByRef regConfig As RegistrationConfig _
)
Dim instance As RegistrationHelper
Dim regConfig As RegistrationConfig

instance.InstallAssemblyFromConfig(regConfig)
public void InstallAssemblyFromConfig (
    ref RegistrationConfig regConfig
)
public:
void InstallAssemblyFromConfig (
    RegistrationConfig^% regConfig
)
public void InstallAssemblyFromConfig (
    /** @ref */ RegistrationConfig regConfig
)
JScript では、値型引数参照渡しされません。

パラメータ

regConfig

インストールするアセンブリ識別する RegistrationConfig。

解説解説
使用例使用例

InstalAssemblyFromConfig メソッド使用して、名前付アセンブリCOM+ アプリケーションインストールする方法次のコード例示します

' Create a RegistrationConfig object and set its attributes
' Create a RegistrationHelper object, and call the InstallAssemblyFromConfig
' method by passing the RegistrationConfiguration object to it as a
 
' reference object
Dim registrationConfiguration As New
 RegistrationConfig()
registrationConfiguration.AssemblyFile = "C:..\..\QueuedComponent.dll"
registrationConfiguration.Application = "MyApp"
registrationConfiguration.InstallationFlags = InstallationFlags.CreateTargetApplication
Dim helperFromConfig As New
 RegistrationHelper()
helperFromConfig.InstallAssemblyFromConfig(registrationConfiguration)
// Create a RegistrationConfig object and set its attributes
// Create a RegistrationHelper object, and call the InstallAssemblyFromConfig
// method by passing the RegistrationConfiguration object to it as a
 
// reference object
RegistrationConfig registrationConfiguration = new RegistrationConfig();
registrationConfiguration.AssemblyFile=@"C:..\..\QueuedComponent.dll";
registrationConfiguration.Application = "MyApp";
registrationConfiguration.InstallationFlags = InstallationFlags.CreateTargetApplication;
RegistrationHelper helperFromConfig = new RegistrationHelper();
helperFromConfig.InstallAssemblyFromConfig(ref registrationConfiguration); 
// Create a RegistrationConfig object and set its attributes
// Create a RegistrationHelper object, and call the InstallAssemblyFromConfig
// method by passing the RegistrationConfiguration object to it as a
 
// reference object
RegistrationConfig^ registrationConfiguration = gcnew RegistrationConfig;
registrationConfiguration->AssemblyFile = "C:..\\..\\QueuedComponent.dll";
registrationConfiguration->Application = "MyApp";
registrationConfiguration->InstallationFlags = InstallationFlags::CreateTargetApplication;
RegistrationHelper^ helperFromConfig = gcnew RegistrationHelper;
helperFromConfig->InstallAssemblyFromConfig(  registrationConfiguration );
// Create a RegistrationConfig object and set its attributes
// Create a RegistrationHelper object, and call the 
// InstallAssemblyFromConfig method by passing the 
// RegistrationConfiguration object to it as a reference object
RegistrationConfig registrationConfiguration = 
    new RegistrationConfig();
registrationConfiguration.set_AssemblyFile(
    "C:..\\..\\QueuedComponent.dll");
registrationConfiguration.set_Application("MyApp");
registrationConfiguration.set_InstallationFlags(InstallationFlags.
    CreateTargetApplication);
RegistrationHelper helperFromConfig = new RegistrationHelper();
helperFromConfig.InstallAssemblyFromConfig(registrationConfiguration);
.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照


このページでは「.NET Framework クラス ライブラリ リファレンス」からRegistrationHelper.InstallAssemblyFromConfig メソッドを検索した結果を表示しています。
Weblioに収録されているすべての辞書からRegistrationHelper.InstallAssemblyFromConfig メソッドを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からRegistrationHelper.InstallAssemblyFromConfig メソッド を検索

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

辞書ショートカット

すべての辞書の索引

RegistrationHelper.InstallAssemblyFromConfig メソッドのお隣キーワード
検索ランキング

   

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



RegistrationHelper.InstallAssemblyFromConfig メソッドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS