ServiceHostingEnvironment 클래스

정의

WCF(Windows Communication Foundation) 서비스를 현재 실행하는 호스팅 환경에 대한 정보를 제공합니다.

public ref class ServiceHostingEnvironment abstract sealed
public static class ServiceHostingEnvironment
type ServiceHostingEnvironment = class
Public Class ServiceHostingEnvironment
상속
ServiceHostingEnvironment

설명

이 클래스는 개별 서비스와 특별히 연결 되지 않은 AppDomain 전체 설정을 노출 합니다. 이 클래스는 애플리케이션 또는 컴퓨터 구성 수준에서만 적용할 수 있습니다.

속성

AspNetCompatibilityEnabled

이 서비스가 ASP.NET HTTP 응용 프로그램 파이프라인의 컨텍스트에서 실행 되 고 있는지 여부를 나타내는 값을 가져옵니다.

MultipleSiteBindingsEnabled

서비스 호스트에 여러 개의 사이트 바인딩을 사용할 수 있는지 여부를 지정하는 값을 가져오거나 설정합니다.

메서드

EnsureInitialized()

아직 초기화되지 않은 서비스를 초기화합니다.

EnsureServiceAvailable(String)

제공된 가상 경로에서 서비스가 활성화되었는지 확인합니다.

적용 대상