ServiceHostBase.CreateDescription Methode

Definition

Erstellt beim Implementieren in einer abgeleiteten Klasse die Beschreibung des gehosteten Diensts.

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

Parameter

implementedContracts
IDictionary<String,ContractDescription>

Die IDictionary<TKey,TValue>-Einstellung, die die ContractDescription-Objekte für den Dienst enthält.

Gibt zurück

Die ServiceDescription-Einstellung für den gehosteten Dienst.

Beispiele

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

Gilt für: