CompositionContract Constructors
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Overloads
| Name | Description |
|---|---|
| CompositionContract(Type) |
Initialiseert een nieuw exemplaar van de CompositionContract klasse met het opgegeven contracttype. |
| CompositionContract(Type, String) |
Initialiseert een nieuw exemplaar van de CompositionContract klasse met de opgegeven contractnaam en het opgegeven type. |
| CompositionContract(Type, String, IDictionary<String,Object>) |
Initialiseert een nieuw exemplaar van de CompositionContract klasse met de opgegeven contractnaam, het type en de metagegevensbeperkingen. |
CompositionContract(Type)
Initialiseert een nieuw exemplaar van de CompositionContract klasse met het opgegeven contracttype.
public:
CompositionContract(Type ^ contractType);
public CompositionContract(Type contractType);
new System.Composition.Hosting.Core.CompositionContract : Type -> System.Composition.Hosting.Core.CompositionContract
Public Sub New (contractType As Type)
Parameters
- contractType
- Type
Het contracttype.
Van toepassing op
CompositionContract(Type, String)
Initialiseert een nieuw exemplaar van de CompositionContract klasse met de opgegeven contractnaam en het opgegeven type.
public:
CompositionContract(Type ^ contractType, System::String ^ contractName);
public CompositionContract(Type contractType, string contractName);
new System.Composition.Hosting.Core.CompositionContract : Type * string -> System.Composition.Hosting.Core.CompositionContract
Public Sub New (contractType As Type, contractName As String)
Parameters
- contractType
- Type
Het contracttype.
- contractName
- String
De naam van het contract.
Van toepassing op
CompositionContract(Type, String, IDictionary<String,Object>)
Initialiseert een nieuw exemplaar van de CompositionContract klasse met de opgegeven contractnaam, het type en de metagegevensbeperkingen.
public:
CompositionContract(Type ^ contractType, System::String ^ contractName, System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ metadataConstraints);
public CompositionContract(Type contractType, string contractName, System.Collections.Generic.IDictionary<string,object> metadataConstraints);
new System.Composition.Hosting.Core.CompositionContract : Type * string * System.Collections.Generic.IDictionary<string, obj> -> System.Composition.Hosting.Core.CompositionContract
Public Sub New (contractType As Type, contractName As String, metadataConstraints As IDictionary(Of String, Object))
Parameters
- contractType
- Type
Het contracttype.
- contractName
- String
De naam van het contract.
- metadataConstraints
- IDictionary<String,Object>
Een verzameling metagegevensbeperkingen voor het contract.