ExportDescriptor.Create Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates an export descriptor that has the specified activator and metadata.
public:
static System::Composition::Hosting::Core::ExportDescriptor ^ Create(System::Composition::Hosting::Core::CompositeActivator ^ activator, System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ metadata);
public static System.Composition.Hosting.Core.ExportDescriptor Create(System.Composition.Hosting.Core.CompositeActivator activator, System.Collections.Generic.IDictionary<string,object> metadata);
static member Create : System.Composition.Hosting.Core.CompositeActivator * System.Collections.Generic.IDictionary<string, obj> -> System.Composition.Hosting.Core.ExportDescriptor
Public Shared Function Create (activator As CompositeActivator, metadata As IDictionary(Of String, Object)) As ExportDescriptor
Parameters
- activator
- CompositeActivator
The activator used to retrieve instances of the export.
- metadata
- IDictionary<String,Object>
The metadata associated with the export.
Returns
The created descriptor.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.