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
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.