AssemblyCatalog Constructor (Assembly^, ReflectionContext^)
.NET Framework (current version)
Initializes a new instance of the AssemblyCatalog class with the specified assembly and reflection context.
Assembly: System.ComponentModel.Composition (in System.ComponentModel.Composition.dll)
Parameters
- assembly
-
Type:
System.Reflection::Assembly^
The assembly that contains the attributed Type objects to add to the AssemblyCatalog object.
- reflectionContext
-
Type:
System.Reflection::ReflectionContext^
The context used by the catalog to interpret types.
| Exception | Condition |
|---|---|
| ArgumentException | assembly or reflectionContext is null. -or- assembly was loaded in the reflection-only context. |
.NET Framework
Available since 4.5
Available since 4.5
Show: