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

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

Installer.OnAfterInstall メソッド

AfterInstall イベント発生させます

名前空間: System.Configuration.Install
アセンブリ: System.Configuration.Install (system.configuration.install.dll 内)
構文構文

Protected Overridable Sub
 OnAfterInstall ( _
    savedState As IDictionary _
)
Dim savedState As IDictionary

Me.OnAfterInstall(savedState)
protected virtual void OnAfterInstall (
    IDictionary savedState
)
protected:
virtual void OnAfterInstall (
    IDictionary^ savedState
)
protected void OnAfterInstall (
    IDictionary savedState
)
protected function OnAfterInstall (
    savedState : IDictionary
)

パラメータ

savedState

Installers プロパティ格納されているすべてのインストーラインストール完了した後のコンピュータの状態を格納する IDictionary。

解説解説
使用例使用例

OnAfterInstall メソッドの例を次に示します。このメソッドは、派生クラスオーバーライドされますOnAfterInstall メソッドには、インストール前に実行する手順追加するための領域用意されています。

' Override the 'OnAfterInstall' method.
Protected Overrides Sub
 OnAfterInstall(savedState As IDictionary)
   MyBase.OnAfterInstall(savedState)
   ' Add steps to be done after the installation is over.
   Console.WriteLine("OnAfterInstall method of MyInstaller called")
End Sub 'OnAfterInstall
// Override the 'OnAfterInstall' method.
protected override void OnAfterInstall(IDictionary
 savedState)
{
   base.OnAfterInstall(savedState);
   // Add steps to be done after the installation is over.
   Console.WriteLine("OnAfterInstall method of MyInstaller called");
}
   // Override the 'OnAfterInstall' method.
protected:
   virtual void OnAfterInstall( IDictionary^ savedState ) override
   {
      Installer::OnAfterInstall( savedState );
      // Add steps to be done after the installation is over.
      Console::WriteLine( "OnAfterInstall method of MyInstaller called"
 );
   }
// Override the 'OnAfterInstall' method.
protected void OnAfterInstall(IDictionary savedState)
{
    super.OnAfterInstall(savedState);

    // Add steps to be done after the installation is over.
    Console.WriteLine("OnAfterInstall method of MyInstaller called");
} //OnAfterInstall
.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Installer クラス
Installer メンバ
System.Configuration.Install 名前空間
OnCommitted
OnAfterRollback
OnAfterUninstall
OnCommitting
OnBeforeInstall
OnBeforeRollback
OnBeforeUninstall



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

辞書ショートカット

すべての辞書の索引

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

   

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



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

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

©2025 GRAS Group, Inc.RSS