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.

CompositionDependency::Missing Method (CompositionContract^, Object^)

.NET Framework (current version)
 

Constructs a placeholder for a missing dependency.

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

public:
static CompositionDependency^ Missing(
	CompositionContract^ contract,
	Object^ site
)

Parameters

contract
Type: System.Composition.Hosting.Core::CompositionContract^

The dependency's contract.

site
Type: System::Object^

A marker used to identify the dependency.

Return Value

Type: System.Composition.Hosting.Core::CompositionDependency^

The placeholder dependency.

Return to top
Show:
© 2017 Microsoft