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.
ExportDescriptorPromise Constructor (CompositionContract^, String^, Boolean, Func<IEnumerable<CompositionDependency^>^>^, Func<IEnumerable<CompositionDependency^>^, ExportDescriptor^>^)
.NET Framework (current version)
Initializes a new instance of the ExportDescriptorPromise class.
Assembly: System.Composition.Hosting (in System.Composition.Hosting.dll)
public: ExportDescriptorPromise( CompositionContract^ contract, String^ origin, bool isShared, Func<IEnumerable<CompositionDependency^>^>^ dependencies, Func<IEnumerable<CompositionDependency^>^, ExportDescriptor^>^ getDescriptor )
Parameters
- contract
-
Type:
System.Composition.Hosting.Core::CompositionContract^
The promised contract.
- origin
-
Type:
System::String^
A description of the promise's origin.
- isShared
-
Type:
System::Boolean
A value that indicates whether the promise is shared.
- dependencies
-
Type:
System::Func<IEnumerable<CompositionDependency^>^>^
The dependencies of the promise.
- getDescriptor
-
Type:
System::Func<IEnumerable<CompositionDependency^>^, ExportDescriptor^>^
A function that provides the promised descriptor.
Show: