Partilhar via


ServiceHostBase.CreateDescription Método

Definição

Quando implementado em uma classe derivada, cria a descrição do serviço hospedado.

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

Parâmetros

implementedContracts
IDictionary<String,ContractDescription>

O IDictionary<TKey,TValue> que contém os objetos ContractDescription para os serviços.

Retornos

ServiceDescription

A ServiceDescription do serviço hospedado.

Exemplos

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

Aplica-se a