Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CompositionContract Constructor

.NET Framework (current version)
 

Initializes a new instance of the CompositionContract class.

Namespace:   System.Composition.Hosting.Core
Assembly:  System.Composition.Runtime (in System.Composition.Runtime.dll)

NameDescription
System_CAPS_pubmethodCompositionContract(Type^)

Initializes a new instance of the CompositionContract class with the specified contract type.

System_CAPS_pubmethodCompositionContract(Type^, String^)

Initializes a new instance of the CompositionContract class with the specified contract name and type.

System_CAPS_pubmethodCompositionContract(Type^, String^, IDictionary<String^, Object^>^)

Initializes a new instance of the CompositionContract class with the specified contract name, type, and metadata constraints.

Return to top
Show:
© 2017 Microsoft