Share via


AssemblyCatalog コンストラクター

定義

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.cs
ソース:
AssemblyCatalog.cs
ソース:
AssemblyCatalog.cs

アセンブリを指定して、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 オブジェクトを格納するアセンブリ。

例外

assemblynullです。

- または -

assembly が、リフレクション専用コンテキストで読み込まれました。

適用対象

AssemblyCatalog(String)

ソース:
AssemblyCatalog.cs
ソース:
AssemblyCatalog.cs
ソース:
AssemblyCatalog.cs

コード ベースを指定して、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

AssemblyCatalog オブジェクトに追加するための属性付き Type オブジェクトを含むアセンブリのコード ベース (つまり、アセンブリ ファイルへのパス) を指定する文字列。

例外

codeBase は有効なアセンブリではありません。

- または -

現在、Version 2.0 以前の共通言語ランタイムが読み込まれていますが、それよりも新しいバージョンを使用して codeBase がコンパイルされています。

呼び出し元に、パス検索アクセス許可がありません。

codeBase を読み込めませんでした。

- または -

codeBase がディレクトリを指定しました。

codeBasenullです。

codeBase が見つかりません。

codeBase は長さ 0 の文字列か、空白のみで構成されるか、または InvalidPathCharsで定義される 1 つ以上の正しくない文字を含んでいます。

指定したパス、ファイル名、またはその両方がシステム定義の最大長を超えています。

注釈

によって codeBase 参照されるアセンブリは、読み込みコンテキストに読み込まれます。

適用対象

AssemblyCatalog(Assembly, ICompositionElement)

ソース:
AssemblyCatalog.cs
ソース:
AssemblyCatalog.cs
ソース:
AssemblyCatalog.cs

アセンブリを指定して、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

パーツのソースを識別するために診断で使用される要素。

例外

assembly または definitionOriginnull です。

- または -

assembly が、リフレクション専用コンテキストで読み込まれました。

適用対象

AssemblyCatalog(Assembly, ReflectionContext)

ソース:
AssemblyCatalog.cs
ソース:
AssemblyCatalog.cs
ソース:
AssemblyCatalog.cs

指定したアセンブリとリフレクション コンテキストを使用して、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

型を解釈するためにカタログで使用されるコンテキスト。

例外

assembly または reflectionContextnull です。

- または -

assembly が、リフレクション専用コンテキストで読み込まれました。

適用対象

AssemblyCatalog(String, ICompositionElement)

ソース:
AssemblyCatalog.cs
ソース:
AssemblyCatalog.cs
ソース:
AssemblyCatalog.cs

コード ベースを指定して、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

AssemblyCatalog オブジェクトに追加するための属性付き Type オブジェクトを含むアセンブリのコード ベース (つまり、アセンブリ ファイルへのパス) を指定する文字列。

definitionOrigin
ICompositionElement

パーツのソースを識別するために診断で使用される要素。

例外

codeBase は有効なアセンブリではありません。

- または -

共通言語ランタイムのバージョン 2.0 以降が現在読み込まれています。codeBase は、より新しいバージョンでコンパイルされています。

呼び出し元に、パス検索アクセス許可がありません。

codeBase を読み込めませんでした。

- または -

codeBase がディレクトリを指定しました。

codebase または definitionOriginnull です。

codeBase が見つかりません。

codeBase は長さ 0 の文字列か、空白のみで構成されるか、または InvalidPathCharsで定義される 1 つ以上の正しくない文字を含んでいます。

指定したパス、ファイル名、またはその両方がシステム定義の最大長を超えています。

注釈

によって codeBase 参照されるアセンブリは、Load コンテキストに読み込まれます。

適用対象

AssemblyCatalog(String, ReflectionContext)

ソース:
AssemblyCatalog.cs
ソース:
AssemblyCatalog.cs
ソース:
AssemblyCatalog.cs

指定したコード ベースとリフレクション コンテキストを使用して、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

AssemblyCatalog オブジェクトに追加するための属性付き Type オブジェクトを含むアセンブリのコード ベース (つまり、アセンブリ ファイルへのパス) を指定する文字列。

reflectionContext
ReflectionContext

型を解釈するためにカタログで使用されるコンテキスト。

例外

codeBase は有効なアセンブリではありません。

- または -

共通言語ランタイムのバージョン 2.0 以降が現在読み込まれています。codeBase は、より新しいバージョンでコンパイルされています。

呼び出し元に、パス検索アクセス許可がありません。

codeBase を読み込めませんでした。

- または -

codeBase がディレクトリを指定しました。

codebase または reflectionContextnull です。

codeBase が見つかりません。

codeBase は長さ 0 の文字列か、空白のみで構成されるか、または InvalidPathCharsで定義される 1 つ以上の正しくない文字を含んでいます。

指定したパス、ファイル名、またはその両方がシステム定義の最大長を超えています。

注釈

によってcodebase 参照されるアセンブリは、Load コンテキストに読み込まれます。

適用対象

AssemblyCatalog(Assembly, ReflectionContext, ICompositionElement)

ソース:
AssemblyCatalog.cs
ソース:
AssemblyCatalog.cs
ソース:
AssemblyCatalog.cs

指定したアセンブリとリフレクション コンテキストを使用して、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

パーツのソースを識別するために診断で使用される要素。

例外

assemblydefinitionOrigin、または reflectionContextnull です。

- または -

assembly が、リフレクション専用コンテキストで読み込まれました。

適用対象

AssemblyCatalog(String, ReflectionContext, ICompositionElement)

ソース:
AssemblyCatalog.cs
ソース:
AssemblyCatalog.cs
ソース:
AssemblyCatalog.cs

指定したコード ベースとリフレクション コンテキストを使用して、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

AssemblyCatalog オブジェクトに追加するための属性付き Type オブジェクトを含むアセンブリのコード ベース (つまり、アセンブリ ファイルへのパス) を指定する文字列。

reflectionContext
ReflectionContext

型を解釈するためにカタログで使用されるコンテキスト。

definitionOrigin
ICompositionElement

パーツのソースを識別するために診断で使用される要素。

例外

codeBase は有効なアセンブリではありません。

- または -

共通言語ランタイムのバージョン 2.0 以降が現在読み込まれています。codeBase は、より新しいバージョンでコンパイルされています。

呼び出し元に、パス検索アクセス許可がありません。

codeBase を読み込めませんでした。

- または -

codeBase がディレクトリを指定しました。

codebasedefinitionOrigin、または reflectionContextnull です。

codeBase が見つかりません。

codeBase は長さ 0 の文字列か、空白のみで構成されるか、または InvalidPathCharsで定義される 1 つ以上の正しくない文字を含んでいます。

指定したパス、ファイル名、またはその両方がシステム定義の最大長を超えています。

注釈

によって codebase 参照されるアセンブリは、Load コンテキストに読み込まれます。

適用対象