C# Class FuncTest.IIS.IisWebSite

The IIS web application.
Inheritance: IDisposable
Afficher le fichier Open project: Microsoft/ApplicationInsights-dotnet-server Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

AddBinding() public méthode

Adds binding.
public AddBinding ( string bindingInfo, string bindingProtocol ) : void
bindingInfo string /// The binding info. ///
bindingProtocol string /// The binding protocol. ///
Résultat void

AddToIisIfNotExists() public méthode

Adds site to IIS if not exists (constructor adds site by default).
public AddToIisIfNotExists ( ) : void
Résultat void

ClearBindings() public méthode

Clears all bindings.
public ClearBindings ( ) : void
Résultat void

Dispose() public méthode

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
Résultat void

IisWebSite() public méthode

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

IisWebSite() public méthode

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. ///
Résultat System

Remove() public méthode

Removes the Site from IIS.
public Remove ( ) : void
Résultat void