ServiceHost.CreateDescription(IDictionary<String,ContractDescription>) Méthode

Définition

Crée une description du service hébergé.Creates a description of the service hosted.

protected:
 override System::ServiceModel::Description::ServiceDescription ^ CreateDescription([Runtime::InteropServices::Out] System::Collections::Generic::IDictionary<System::String ^, System::ServiceModel::Description::ContractDescription ^> ^ % implementedContracts);
protected override System.ServiceModel.Description.ServiceDescription CreateDescription (out System.Collections.Generic.IDictionary<string,System.ServiceModel.Description.ContractDescription> implementedContracts);
override this.CreateDescription : IDictionary -> System.ServiceModel.Description.ServiceDescription
Protected Overrides Function CreateDescription (ByRef implementedContracts As IDictionary(Of String, ContractDescription)) As ServiceDescription

Paramètres

implementedContracts
IDictionary<String,ContractDescription>

IDictionary<TKey,TValue> avec les paires de clés de type (String, ContractDescription) qui contient les contrats de clé du service hébergé qui ont été implémentés.The IDictionary<TKey,TValue> with key pairs of type (String, ContractDescription) that contains the keyed-contracts of the hosted service that have been implemented.

Retours

ServiceDescription du service hébergé.A ServiceDescription of the hosted service.

Exceptions

Le type de service hébergé a la valeur null.The type of service hosted is null.

Remarques

Cette méthode est utilisée pour construire des descriptions de contrat à partir de modèles de programmation personnalisés.This method is used to construct contract descriptions from customized programming models. Substituez la méthode de classe de base correspondante, CreateDescription(IDictionary<String,ContractDescription>), pour implémenter le modèle personnalisé.Override the corresponding base class method, CreateDescription(IDictionary<String,ContractDescription>), to implement the customized model.

S’applique à