ServiceHost.CreateDescription Метод

Определение

Создает описание размещенной службы.

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

Параметры

implementedContracts
IDictionary<String,ContractDescription>

Пары IDictionary<TKey,TValue> ключей типа (String, ContractDescription), содержащие ключовые контракты размещенной службы, которые были реализованы.

Возвращаемое значение

Размещенная ServiceDescription служба.

Исключения

Тип размещенной службы.null

Комментарии

Этот метод используется для создания описаний контрактов на основе настраиваемых моделей программирования. Переопределите соответствующий метод базового класса, CreateDescription(IDictionary<String,ContractDescription>)чтобы реализовать настраиваемую модель.

Применяется к