Export (0) Print
Expand All

AssemblyCatalog Constructor (Assembly)

Initializes a new instance of the AssemblyCatalog class with the specified assembly.

Namespace:  System.ComponentModel.Composition.Hosting
Assembly:  System.ComponentModel.Composition (in System.ComponentModel.Composition.dll)

public AssemblyCatalog(
	Assembly assembly
)

Parameters

assembly
Type: System.Reflection.Assembly

The assembly that contains the attributed Type objects to add to the AssemblyCatalog object.

ExceptionCondition
ArgumentException

assembly is null.

-or-

assembly was loaded in the reflection-only context.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Portable Class Library

Supported in: Portable Class Library
Show:
© 2015 Microsoft