Share via


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

호스팅된 서비스의 ServiceDescription입니다.

예외

호스팅된 서비스의 형식이 null인 경우

설명

이 메서드는 사용자 지정된 프로그래밍 모델에서 계약 설명을 생성하는 데 사용됩니다. 해당 기본 클래스 메서드 CreateDescription(IDictionary<String,ContractDescription>)를 재정의하여 사용자 지정된 모델을 구현합니다.

적용 대상