AssemblyCatalog コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
AssemblyCatalog クラスの新しいインスタンスを初期化します。
オーバーロード
| 名前 | 説明 |
|---|---|
| AssemblyCatalog(Assembly) |
指定したアセンブリを使用して、 AssemblyCatalog クラスの新しいインスタンスを初期化します。 |
| AssemblyCatalog(String) |
指定したコード ベースを使用して、 AssemblyCatalog クラスの新しいインスタンスを初期化します。 |
| AssemblyCatalog(Assembly, ICompositionElement) |
指定したアセンブリを使用して、 AssemblyCatalog クラスの新しいインスタンスを初期化します。 |
| AssemblyCatalog(Assembly, ReflectionContext) |
指定したアセンブリとリフレクション コンテキストを使用して、 AssemblyCatalog クラスの新しいインスタンスを初期化します。 |
| AssemblyCatalog(String, ICompositionElement) |
指定したコード ベースを使用して、 AssemblyCatalog クラスの新しいインスタンスを初期化します。 |
| AssemblyCatalog(String, ReflectionContext) |
指定したコード ベースとリフレクション コンテキストを使用して、 AssemblyCatalog クラスの新しいインスタンスを初期化します。 |
| AssemblyCatalog(Assembly, ReflectionContext, ICompositionElement) |
指定したアセンブリとリフレクション コンテキストを使用して、 AssemblyCatalog クラスの新しいインスタンスを初期化します。 |
| AssemblyCatalog(String, ReflectionContext, ICompositionElement) |
指定したコード ベースとリフレクション コンテキストを使用して、 AssemblyCatalog クラスの新しいインスタンスを初期化します。 |
AssemblyCatalog(Assembly)
指定したアセンブリを使用して、 AssemblyCatalog クラスの新しいインスタンスを初期化します。
public:
AssemblyCatalog(System::Reflection::Assembly ^ assembly);
public AssemblyCatalog(System.Reflection.Assembly assembly);
new System.ComponentModel.Composition.Hosting.AssemblyCatalog : System.Reflection.Assembly -> System.ComponentModel.Composition.Hosting.AssemblyCatalog
Public Sub New (assembly As Assembly)
パラメーター
- assembly
- Assembly
Type オブジェクトに追加する属性付きAssemblyCatalogオブジェクトを含むアセンブリ。
例外
適用対象
AssemblyCatalog(String)
指定したコード ベースを使用して、 AssemblyCatalog クラスの新しいインスタンスを初期化します。
public:
AssemblyCatalog(System::String ^ codeBase);
public AssemblyCatalog(string codeBase);
new System.ComponentModel.Composition.Hosting.AssemblyCatalog : string -> System.ComponentModel.Composition.Hosting.AssemblyCatalog
Public Sub New (codeBase As String)
パラメーター
- codeBase
- String
Type オブジェクトに追加する属性付きのAssemblyCatalog オブジェクトを含むアセンブリのコード ベース (つまり、アセンブリ ファイルへのパス) を指定する文字列。
例外
codeBase は有効なアセンブリではありません。
-又は-
現在、バージョン 2.0 以前の共通言語ランタイムが読み込まれており、 codeBase は新しいバージョンでコンパイルされています。
呼び出し元にパス検出アクセス許可がありません。
codeBase は nullです。
codeBase が見つかりません。
codeBase は長さ 0 の文字列で、空白のみを含むか、 InvalidPathCharsで定義されている 1 つ以上の無効な文字を含みます。
指定したパス、ファイル名、またはその両方が、システム定義の最大長を超えています。
注釈
codeBaseによって参照されるアセンブリは、読み込みコンテキストに読み込まれます。
適用対象
AssemblyCatalog(Assembly, ICompositionElement)
指定したアセンブリを使用して、 AssemblyCatalog クラスの新しいインスタンスを初期化します。
public:
AssemblyCatalog(System::Reflection::Assembly ^ assembly, System::ComponentModel::Composition::Primitives::ICompositionElement ^ definitionOrigin);
public AssemblyCatalog(System.Reflection.Assembly assembly, System.ComponentModel.Composition.Primitives.ICompositionElement definitionOrigin);
new System.ComponentModel.Composition.Hosting.AssemblyCatalog : System.Reflection.Assembly * System.ComponentModel.Composition.Primitives.ICompositionElement -> System.ComponentModel.Composition.Hosting.AssemblyCatalog
Public Sub New (assembly As Assembly, definitionOrigin As ICompositionElement)
パラメーター
- assembly
- Assembly
Type オブジェクトに追加する属性付きAssemblyCatalogオブジェクトを含むアセンブリ。
- definitionOrigin
- ICompositionElement
パーツのソースを識別するために診断によって使用される要素。
例外
適用対象
AssemblyCatalog(Assembly, ReflectionContext)
指定したアセンブリとリフレクション コンテキストを使用して、 AssemblyCatalog クラスの新しいインスタンスを初期化します。
public:
AssemblyCatalog(System::Reflection::Assembly ^ assembly, System::Reflection::ReflectionContext ^ reflectionContext);
public AssemblyCatalog(System.Reflection.Assembly assembly, System.Reflection.ReflectionContext reflectionContext);
new System.ComponentModel.Composition.Hosting.AssemblyCatalog : System.Reflection.Assembly * System.Reflection.ReflectionContext -> System.ComponentModel.Composition.Hosting.AssemblyCatalog
Public Sub New (assembly As Assembly, reflectionContext As ReflectionContext)
パラメーター
- assembly
- Assembly
Type オブジェクトに追加する属性付きAssemblyCatalogオブジェクトを含むアセンブリ。
- reflectionContext
- ReflectionContext
型を解釈するためにカタログによって使用されるコンテキスト。
例外
適用対象
AssemblyCatalog(String, ICompositionElement)
指定したコード ベースを使用して、 AssemblyCatalog クラスの新しいインスタンスを初期化します。
public:
AssemblyCatalog(System::String ^ codeBase, System::ComponentModel::Composition::Primitives::ICompositionElement ^ definitionOrigin);
public AssemblyCatalog(string codeBase, System.ComponentModel.Composition.Primitives.ICompositionElement definitionOrigin);
new System.ComponentModel.Composition.Hosting.AssemblyCatalog : string * System.ComponentModel.Composition.Primitives.ICompositionElement -> System.ComponentModel.Composition.Hosting.AssemblyCatalog
Public Sub New (codeBase As String, definitionOrigin As ICompositionElement)
パラメーター
- codeBase
- String
Type オブジェクトに追加する属性付きのAssemblyCatalog オブジェクトを含むアセンブリのコード ベース (つまり、アセンブリ ファイルへのパス) を指定する文字列。
- definitionOrigin
- ICompositionElement
パーツのソースを識別するために診断によって使用される要素。
例外
codeBase は有効なアセンブリではありません。
-又は-
現在、共通言語ランタイムのバージョン 2.0 以降が読み込まれており、 codeBase は新しいバージョンでコンパイルされています。
呼び出し元にパス検出アクセス許可がありません。
codeBase または definitionOrigin が null。
codeBase が見つかりません。
codeBase は長さ 0 の文字列で、空白のみを含むか、 InvalidPathCharsで定義されている 1 つ以上の無効な文字を含みます。
指定したパス、ファイル名、またはその両方が、システム定義の最大長を超えています。
注釈
codeBaseによって参照されるアセンブリは、Load コンテキストに読み込まれます。
適用対象
AssemblyCatalog(String, ReflectionContext)
指定したコード ベースとリフレクション コンテキストを使用して、 AssemblyCatalog クラスの新しいインスタンスを初期化します。
public:
AssemblyCatalog(System::String ^ codeBase, System::Reflection::ReflectionContext ^ reflectionContext);
public AssemblyCatalog(string codeBase, System.Reflection.ReflectionContext reflectionContext);
new System.ComponentModel.Composition.Hosting.AssemblyCatalog : string * System.Reflection.ReflectionContext -> System.ComponentModel.Composition.Hosting.AssemblyCatalog
Public Sub New (codeBase As String, reflectionContext As ReflectionContext)
パラメーター
- codeBase
- String
Type オブジェクトに追加する属性付きのAssemblyCatalog オブジェクトを含むアセンブリのコード ベース (つまり、アセンブリ ファイルへのパス) を指定する文字列。
- reflectionContext
- ReflectionContext
型を解釈するためにカタログによって使用されるコンテキスト。
例外
codeBase は有効なアセンブリではありません。
-又は-
現在、共通言語ランタイムのバージョン 2.0 以降が読み込まれており、 codeBase は新しいバージョンでコンパイルされています。
呼び出し元にパス検出アクセス許可がありません。
codeBase または reflectionContext が null。
codeBase が見つかりません。
codeBase は長さ 0 の文字列で、空白のみを含むか、 InvalidPathCharsで定義されている 1 つ以上の無効な文字を含みます。
指定したパス、ファイル名、またはその両方が、システム定義の最大長を超えています。
注釈
codebaseによって参照されるアセンブリは、Load コンテキストに読み込まれます。
適用対象
AssemblyCatalog(Assembly, ReflectionContext, ICompositionElement)
指定したアセンブリとリフレクション コンテキストを使用して、 AssemblyCatalog クラスの新しいインスタンスを初期化します。
public:
AssemblyCatalog(System::Reflection::Assembly ^ assembly, System::Reflection::ReflectionContext ^ reflectionContext, System::ComponentModel::Composition::Primitives::ICompositionElement ^ definitionOrigin);
public AssemblyCatalog(System.Reflection.Assembly assembly, System.Reflection.ReflectionContext reflectionContext, System.ComponentModel.Composition.Primitives.ICompositionElement definitionOrigin);
new System.ComponentModel.Composition.Hosting.AssemblyCatalog : System.Reflection.Assembly * System.Reflection.ReflectionContext * System.ComponentModel.Composition.Primitives.ICompositionElement -> System.ComponentModel.Composition.Hosting.AssemblyCatalog
Public Sub New (assembly As Assembly, reflectionContext As ReflectionContext, definitionOrigin As ICompositionElement)
パラメーター
- assembly
- Assembly
Type オブジェクトに追加する属性付きAssemblyCatalogオブジェクトを含むアセンブリ。
- reflectionContext
- ReflectionContext
型を解釈するためにカタログによって使用されるコンテキスト。
- definitionOrigin
- ICompositionElement
パーツのソースを識別するために診断によって使用される要素。
例外
assembly、 definitionOrigin、または reflectionContext が null。
-又は-
assembly がリフレクションのみのコンテキストで読み込まれました。
適用対象
AssemblyCatalog(String, ReflectionContext, ICompositionElement)
指定したコード ベースとリフレクション コンテキストを使用して、 AssemblyCatalog クラスの新しいインスタンスを初期化します。
public:
AssemblyCatalog(System::String ^ codeBase, System::Reflection::ReflectionContext ^ reflectionContext, System::ComponentModel::Composition::Primitives::ICompositionElement ^ definitionOrigin);
public AssemblyCatalog(string codeBase, System.Reflection.ReflectionContext reflectionContext, System.ComponentModel.Composition.Primitives.ICompositionElement definitionOrigin);
new System.ComponentModel.Composition.Hosting.AssemblyCatalog : string * System.Reflection.ReflectionContext * System.ComponentModel.Composition.Primitives.ICompositionElement -> System.ComponentModel.Composition.Hosting.AssemblyCatalog
Public Sub New (codeBase As String, reflectionContext As ReflectionContext, definitionOrigin As ICompositionElement)
パラメーター
- codeBase
- String
Type オブジェクトに追加する属性付きのAssemblyCatalog オブジェクトを含むアセンブリのコード ベース (つまり、アセンブリ ファイルへのパス) を指定する文字列。
- reflectionContext
- ReflectionContext
型を解釈するためにカタログによって使用されるコンテキスト。
- definitionOrigin
- ICompositionElement
パーツのソースを識別するために診断によって使用される要素。
例外
codeBase は有効なアセンブリではありません。
-又は-
現在、共通言語ランタイムのバージョン 2.0 以降が読み込まれており、 codeBase は新しいバージョンでコンパイルされています。
呼び出し元にパス検出アクセス許可がありません。
codeBase、 definitionOrigin 、または reflectionContext が null。
codeBase が見つかりません。
codeBase は長さ 0 の文字列で、空白のみを含むか、 InvalidPathCharsで定義されている 1 つ以上の無効な文字を含みます。
指定したパス、ファイル名、またはその両方が、システム定義の最大長を超えています。
注釈
codebaseによって参照されるアセンブリは、Load コンテキストに読み込まれます。