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)

Source:
AssemblyCatalog.cs
Source:
AssemblyCatalog.cs
Source:
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 개체를 포함하는 어셈블리입니다.

예외

assembly이(가) null인 경우

또는

assembly가 리플렉션 전용 컨텍스트에서 로드된 경우

적용 대상

AssemblyCatalog(String)

Source:
AssemblyCatalog.cs
Source:
AssemblyCatalog.cs
Source:
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는 유효한 어셈블리가 아닙니다.

또는

버전 2.0 이전의 공용 언어 런타임이 현재 로드되어 있으며 codeBase가 이후 버전으로 컴파일된 경우

호출자에게 경로 검색 권한이 없습니다.

codeBase를 로드할 수 없습니다.

또는

codeBase에 디렉터리가 지정되었습니다.

codeBase이(가) null인 경우

codeBase 가 없는 경우

codeBase가 빈 문자열이거나 공백만 포함하거나 InvalidPathChars로 정의된 하나 이상의 잘못된 문자를 포함합니다.

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

설명

에서 참조하는 codeBase 어셈블리가 로드 컨텍스트에 로드됩니다.

적용 대상

AssemblyCatalog(Assembly, ICompositionElement)

Source:
AssemblyCatalog.cs
Source:
AssemblyCatalog.cs
Source:
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)

Source:
AssemblyCatalog.cs
Source:
AssemblyCatalog.cs
Source:
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)

Source:
AssemblyCatalog.cs
Source:
AssemblyCatalog.cs
Source:
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가 빈 문자열이거나 공백만 포함하거나 InvalidPathChars로 정의된 하나 이상의 잘못된 문자를 포함합니다.

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

설명

에서 참조하는 codeBase 어셈블리는 Load 컨텍스트에 로드됩니다.

적용 대상

AssemblyCatalog(String, ReflectionContext)

Source:
AssemblyCatalog.cs
Source:
AssemblyCatalog.cs
Source:
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가 빈 문자열이거나 공백만 포함하거나 InvalidPathChars로 정의된 하나 이상의 잘못된 문자를 포함합니다.

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

설명

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

적용 대상

AssemblyCatalog(Assembly, ReflectionContext, ICompositionElement)

Source:
AssemblyCatalog.cs
Source:
AssemblyCatalog.cs
Source:
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

파트의 소스를 식별하기 위해 진단에서 사용하는 요소입니다.

예외

assembly, definitionOrigin 또는 reflectionContextnull입니다.

또는

assembly가 리플렉션 전용 컨텍스트에서 로드된 경우

적용 대상

AssemblyCatalog(String, ReflectionContext, ICompositionElement)

Source:
AssemblyCatalog.cs
Source:
AssemblyCatalog.cs
Source:
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에 디렉터리가 지정되었습니다.

codebase, definitionOrigin 또는 reflectionContextnull인 경우

codeBase 가 없는 경우

codeBase가 빈 문자열이거나 공백만 포함하거나 InvalidPathChars로 정의된 하나 이상의 잘못된 문자를 포함합니다.

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

설명

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

적용 대상