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

Définition

En cas d'implémentation dans une classe dérivée, crée la description du service hébergé.When implemented in a derived class, creates the description of the hosted service.

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

Paramètres

implementedContracts
IDictionary<String,ContractDescription>

IDictionary<TKey,TValue> contenant les objets ContractDescription pour le service.The IDictionary<TKey,TValue> that contains the ContractDescription objects for the service.

Retours

ServiceDescription pour le service hébergé.The ServiceDescription for the hosted service.

Exemples

protected override
        ServiceDescription
        CreateDescription (out System.Collections.Generic.IDictionary<String, ContractDescription> id )
{
    id = null;
    return new ServiceDescription();
}

S’applique à