DependencyAccessor::GetPromises Method (CompositionContract^)
.NET Framework (current version)
Retrieves all promises for the specified contract.
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.
Show: