Udostępnij za pośrednictwem


ServiceHostBase.CreateDescription Metoda

Definicja

Po zaimplementowaniu w klasie pochodnej tworzy opis hostowanej usługi.

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

Parametry

implementedContracts
IDictionary<String,ContractDescription>

Obiekt IDictionary<TKey,TValue> , który zawiera ContractDescription obiekty usługi.

Zwraca

Element ServiceDescription dla hostowanej usługi.

Przykłady

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

Dotyczy