C# 클래스 Microsoft.ApplicationServer.Http.SafeHostDisposer

Ensures a host is opened on construction, and disposes it if the host is not faulted on dispose.
상속: IDisposable
파일 보기 프로젝트 열기: netfx/extensions

공개 메소드들

메소드 설명
Dispose ( ) : void

Closes the host if it's still in the CommunicationState.Opened state.

SafeHostDisposer ( System.ServiceModel.ServiceHost host ) : System

Opens the host if it's not in the CommunicationState.Opened state already.

메소드 상세

Dispose() 공개 메소드

Closes the host if it's still in the CommunicationState.Opened state.
public Dispose ( ) : void
리턴 void

SafeHostDisposer() 공개 메소드

Opens the host if it's not in the CommunicationState.Opened state already.
public SafeHostDisposer ( System.ServiceModel.ServiceHost host ) : System
host System.ServiceModel.ServiceHost
리턴 System