ClientBuildManagerParameterとは? わかりやすく解説

ClientBuildManagerParameter クラス

メモ : このクラスは、.NET Framework version 2.0新しく追加されたものです。

プリコンパイル時に ASP.NET コンパイラ渡される値を格納します

名前空間: System.Web.Compilation
アセンブリ: System.Web (system.web.dll 内)
構文構文

<SerializableAttribute> _
Public Class ClientBuildManagerParameter
Dim instance As ClientBuildManagerParameter
[SerializableAttribute] 
public class ClientBuildManagerParameter
[SerializableAttribute] 
public ref class ClientBuildManagerParameter
/** @attribute SerializableAttribute() */ 
public class ClientBuildManagerParameter
SerializableAttribute 
public class ClientBuildManagerParameter
解説解説

ASP.NET Web ページおよびコード ファイルプリコンパイルすると、ユーザーへの応答時間短くなり、ソース コード配置せずにサイト配置できますASP.NET Web サイトプリコンパイル詳細については、「ASP.NET Web サイトプリコンパイル概要」を参照してください

ClientBuildManagerParameter クラスは、プリコンパイル時に使用される値を格納します。PrecompilationFlags プロパティによって、アセンブリビルド方法決まります。たとえば、PrecompilationFlagsClean設定すると、以前コンパイル済みコンポーネントが再コンパイルされます。OverwriteTarget に設定すると、結果として得られアセンブリによってコンパイル対象ディレクトリ内のすべてのコンポーネント上書きされます。PrecompilationFlags 列挙子には、メンバ値のビットごとの組み合わせ可能にする FlagsAttribute 属性ありますPrecompilationFlags プロパティPrecompilationFlags 列挙体の複数の値を格納してプリコンパイル動作組み合わせ指定できます

StrongNameKeyContainer プロパティまたは StrongNameKeyFile プロパティどちらか一方に値を割り当てると、厳密な名前付きアセンブリ作成できます厳密な名前付きアセンブリ作成するために両方の値を設定する要はありません。

ClientBuildManagerParameter オブジェクトは、ClientBuildManager 構造体使用して ClientBuildManager オブジェクト渡されます。

使用例使用例

次のコード例は、ClientBuildManager クラス概要にあるコード例一部です。この例では、ClientBuildManagerParameter オブジェクト作成し、その値を設定します結果として得られアセンブリは、指定されキー ファイル基づいて厳密な名前設定され指定されPrecompilationFlagsに従ってプリコンパイルされます

_cbmParameter = New ClientBuildManagerParameter()
_cbmParameter.PrecompilationFlags = _flags
_cbmParameter.StrongNameKeyFile = _keyFile

builder = New ClientBuildManager(_vPath, _pPath, _tPath, _cbmParameter)
_cbmParameter = new ClientBuildManagerParameter();
_cbmParameter.PrecompilationFlags = _flags;
_cbmParameter.StrongNameKeyFile = _keyFile;

builder = new
        ClientBuildManager(_vPath, _pPath, _tPath, _cbmParameter);
継承階層継承階層
System.Object
  System.Web.Compilation.ClientBuildManagerParameter
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ClientBuildManagerParameter メンバ
System.Web.Compilation 名前空間
ClientBuildManager クラス
PrecompilationFlags
その他の技術情報
ASP.NET Web サイトプリコンパイル概要

ClientBuildManagerParameter コンストラクタ

メモ : このコンストラクタは、.NET Framework version 2.0新しく追加されたものです。

ClientBuildManagerParameter クラス新しインスタンス初期化します。

名前空間: System.Web.Compilation
アセンブリ: System.Web (system.web.dll 内)
構文構文

Dim instance As New ClientBuildManagerParameter
public ClientBuildManagerParameter ()
public:
ClientBuildManagerParameter ()
public ClientBuildManagerParameter ()
public function ClientBuildManagerParameter
 ()
解説解説

このコンストラクタは、プロパティ値を初期化しません。これらの値は、オブジェクトの作成後に StrongNameKeyContainer、StrongNameKeyFile、および PrecompilationFlags の各プロパティ使用して設定する必要があります

使用例使用例

次のコード例は、ClientBuildManager クラス概要にあるコード例一部です。この例では、ClientBuildManagerParameter オブジェクト作成し、その値を設定します結果として得られアセンブリは、指定されキー ファイル基づいて厳密な名前設定され指定された PrecompilationFlags 値に従ってプリコンパイルされます

_cbmParameter = New ClientBuildManagerParameter()
_cbmParameter.PrecompilationFlags = _flags
_cbmParameter.StrongNameKeyFile = _keyFile

builder = New ClientBuildManager(_vPath, _pPath, _tPath, _cbmParameter)
_cbmParameter = new ClientBuildManagerParameter();
_cbmParameter.PrecompilationFlags = _flags;
_cbmParameter.StrongNameKeyFile = _keyFile;

builder = new
        ClientBuildManager(_vPath, _pPath, _tPath, _cbmParameter);
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ClientBuildManagerParameter クラス
ClientBuildManagerParameter メンバ
System.Web.Compilation 名前空間

ClientBuildManagerParameter プロパティ


パブリック プロパティパブリック プロパティ

参照参照

関連項目

ClientBuildManagerParameter クラス
System.Web.Compilation 名前空間
ClientBuildManager クラス
PrecompilationFlags

その他の技術情報

ASP.NET Web サイトプリコンパイル概要

ClientBuildManagerParameter メソッド


ClientBuildManagerParameter メンバ

プリコンパイル時に ASP.NET コンパイラ渡される値を格納します

ClientBuildManagerParameter データ型公開されるメンバを以下の表に示します


パブリック コンストラクタパブリック コンストラクタ
  名前 説明
パブリック メソッド ClientBuildManagerParameter ClientBuildManagerParameter クラス新しインスタンス初期化します。
パブリック プロパティパブリック プロパティ
パブリック メソッドパブリック メソッド
プロテクト メソッドプロテクト メソッド
参照参照

関連項目

ClientBuildManagerParameter クラス
System.Web.Compilation 名前空間
ClientBuildManager クラス
PrecompilationFlags

その他の技術情報

ASP.NET Web サイトプリコンパイル概要



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

辞書ショートカット

すべての辞書の索引

「ClientBuildManagerParameter」の関連用語

ClientBuildManagerParameterのお隣キーワード
検索ランキング

   

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



ClientBuildManagerParameterのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS