AssemblyCatalog 생성자

정의

AssemblyCatalog 클래스의 새 인스턴스를 초기화합니다.

오버로드

Name Description
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 .

예외

assemblynull입니다.

-또는-

assembly 리플렉션 전용 컨텍스트에 로드되었습니다.

적용 대상

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 를 로드할 수 없습니다.

-또는-

codeBase 디렉터리를 지정했습니다.

codeBasenull입니다.

codeBase 찾을 수 없습니다.

codeBase 는 길이가 0인 문자열이거나, 공백만 포함하거나, 정의한 InvalidPathChars대로 하나 이상의 잘못된 문자를 포함합니다.

지정된 경로, 파일 이름 또는 둘 다 시스템 정의 최대 길이를 초과합니다.

설명

참조되는 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

진단에서 파트의 원본을 식별하는 데 사용되는 요소입니다.

예외

assembly 또는 definitionOrigin .입니다 null.

-또는-

assembly 리플렉션 전용 컨텍스트에 로드되었습니다.

적용 대상

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

카탈로그에서 형식을 해석하는 데 사용하는 컨텍스트입니다.

예외

assembly 또는 reflectionContext .입니다 null.

-또는-

assembly 리플렉션 전용 컨텍스트에 로드되었습니다.

적용 대상

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 를 로드할 수 없습니다.

-또는-

codeBase 디렉터리를 지정했습니다.

codeBase 또는 definitionOrigin .입니다 null.

codeBase 찾을 수 없습니다.

codeBase 는 길이가 0인 문자열이거나, 공백만 포함하거나, 정의한 InvalidPathChars대로 하나 이상의 잘못된 문자를 포함합니다.

지정된 경로, 파일 이름 또는 둘 다 시스템 정의 최대 길이를 초과합니다.

설명

참조되는 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 를 로드할 수 없습니다.

-또는-

codeBase 디렉터리를 지정했습니다.

codeBase 또는 reflectionContext .입니다 null.

codeBase 찾을 수 없습니다.

codeBase 는 길이가 0인 문자열이거나, 공백만 포함하거나, 정의한 InvalidPathChars대로 하나 이상의 잘못된 문자를 포함합니다.

지정된 경로, 파일 이름 또는 둘 다 시스템 정의 최대 길이를 초과합니다.

설명

참조되는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 를 로드할 수 없습니다.

-또는-

codeBase 디렉터리를 지정했습니다.

codeBase, definitionOrigin 또는 reflectionContext 입니다 null.

codeBase 찾을 수 없습니다.

codeBase 는 길이가 0인 문자열이거나, 공백만 포함하거나, 정의한 InvalidPathChars대로 하나 이상의 잘못된 문자를 포함합니다.

지정된 경로, 파일 이름 또는 둘 다 시스템 정의 최대 길이를 초과합니다.

설명

참조되는 codebase 어셈블리가 Load 컨텍스트에 로드됩니다.

적용 대상