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.

DependencyAccessor::GetPromises Method (CompositionContract^)

.NET Framework (current version)
 

Retrieves all promises for the specified contract.

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

protected:
virtual IEnumerable<ExportDescriptorPromise^>^ GetPromises(
	CompositionContract^ exportKey
) abstract

Parameters

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

The export key the promises must supply.

Return Value

Type: System.Collections.Generic::IEnumerable<ExportDescriptorPromise^>^

A collection of promises for the contract.

Return to top
Show:
© 2017 Microsoft