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.

ExportDescriptorProvider::GetExportDescriptors Method (CompositionContract^, DependencyAccessor^)

.NET Framework (current version)
 

Promises export descriptors for the specified export key.

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

public:
virtual IEnumerable<ExportDescriptorPromise^>^ GetExportDescriptors(
	CompositionContract^ contract,
	DependencyAccessor^ descriptorAccessor
) abstract

Parameters

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

The export key required.

descriptorAccessor
Type: System.Composition.Hosting.Core::DependencyAccessor^

An accessor for the other descriptors in the composition.

Return Value

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

A collection of promises for new export descriptors.

Return to top
Show:
© 2017 Microsoft