ServiceHostBase.CreateDescription Methode

Definitie

Wanneer deze wordt geïmplementeerd in een afgeleide klasse, maakt u de beschrijving van de gehoste 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

Parameters

implementedContracts
IDictionary<String,ContractDescription>

ContractDescription De IDictionary<TKey,TValue> objecten voor de service.

Retouren

De ServiceDescription voor de gehoste service.

Voorbeelden

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

Van toepassing op