ServiceHostBase.CreateDescription メソッド

定義

派生クラスで実装された場合は、ホストされるサービスの記述を作成します。

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

パラメーター

implementedContracts
IDictionary<String,ContractDescription>

サービスの IDictionary<TKey,TValue> オブジェクトを格納している ContractDescription

戻り値

ホストされるサービスの ServiceDescription

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

適用対象