ServiceHostBase.CreateDescription Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When implemented in a derived class, creates the description of the hosted 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>
The IDictionary<TKey,TValue> that contains the ContractDescription objects for the service.
Returns
The ServiceDescription for the hosted service.
Examples
protected override
ServiceDescription
CreateDescription (out System.Collections.Generic.IDictionary<String, ContractDescription> id )
{
id = null;
return new ServiceDescription();
}
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.