다음을 통해 공유


ServiceHealthBehavior.GetServiceHealthSections(ServiceHostBase) 메서드

정의

ServiceHealthBehavior에 정의된 ServiceHealthSection 개체의 컬렉션을 가져옵니다.

protected:
 virtual System::ServiceModel::Description::ServiceHealthSectionCollection ^ GetServiceHealthSections(System::ServiceModel::ServiceHostBase ^ serviceHost);
protected virtual System.ServiceModel.Description.ServiceHealthSectionCollection GetServiceHealthSections (System.ServiceModel.ServiceHostBase serviceHost);
abstract member GetServiceHealthSections : System.ServiceModel.ServiceHostBase -> System.ServiceModel.Description.ServiceHealthSectionCollection
override this.GetServiceHealthSections : System.ServiceModel.ServiceHostBase -> System.ServiceModel.Description.ServiceHealthSectionCollection
Protected Overridable Function GetServiceHealthSections (serviceHost As ServiceHostBase) As ServiceHealthSectionCollection

매개 변수

serviceHost
ServiceHostBase

해당 ServiceHealthBehavior를 사용하여 WCF 서비스를 포함하는 서비스 호스트의 인스턴스입니다.

반환

ServiceHealthSectionCollection

ServiceHealthBehavior에 정의된 ServiceHealthSection 개체의 컬렉션입니다.

예외

serviceHost이(가) null인 경우

적용 대상