C# 클래스 FuncTest.IIS.IisWebSite

The IIS web application.
상속: IDisposable
파일 보기 프로젝트 열기: Microsoft/ApplicationInsights-dotnet-server 1 사용 예제들

공개 메소드들

메소드 설명
AddBinding ( string bindingInfo, string bindingProtocol ) : void

Adds binding.

AddToIisIfNotExists ( ) : void

Adds site to IIS if not exists (constructor adds site by default).

ClearBindings ( ) : void

Clears all bindings.

Dispose ( ) : void

Disposes the instance of IIS Web Site and frees the underlying resources, can reduce the amount of the memory leak in Server Manager

IisWebSite ( Site iisSite ) : System

Initializes a new instance of the IisWebSite class.

IisWebSite ( string siteName, string sitePhysicalPath, int sitePort, IisApplicationPool pool ) : System

Initializes a new instance of the IisWebSite class.

Remove ( ) : void

Removes the Site from IIS.

메소드 상세

AddBinding() 공개 메소드

Adds binding.
public AddBinding ( string bindingInfo, string bindingProtocol ) : void
bindingInfo string /// The binding info. ///
bindingProtocol string /// The binding protocol. ///
리턴 void

AddToIisIfNotExists() 공개 메소드

Adds site to IIS if not exists (constructor adds site by default).
public AddToIisIfNotExists ( ) : void
리턴 void

ClearBindings() 공개 메소드

Clears all bindings.
public ClearBindings ( ) : void
리턴 void

Dispose() 공개 메소드

Disposes the instance of IIS Web Site and frees the underlying resources, can reduce the amount of the memory leak in Server Manager
public Dispose ( ) : void
리턴 void

IisWebSite() 공개 메소드

Initializes a new instance of the IisWebSite class.
public IisWebSite ( Site iisSite ) : System
iisSite Microsoft.Web.Administration.Site /// The IIS site. ///
리턴 System

IisWebSite() 공개 메소드

Initializes a new instance of the IisWebSite class.
public IisWebSite ( string siteName, string sitePhysicalPath, int sitePort, IisApplicationPool pool ) : System
siteName string /// The site Name. ///
sitePhysicalPath string /// The site Physical Path. ///
sitePort int /// The site Port. ///
pool IisApplicationPool /// The pool. ///
리턴 System

Remove() 공개 메소드

Removes the Site from IIS.
public Remove ( ) : void
리턴 void