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.

Exception Condition
ArgumentException

assembly is null.

-or-

assembly was loaded in the reflection-only context.

.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Return to top
Show: