C# Class FuncTest.IIS.IisApplicationPool

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

Méthodes publiques

Méthode Description
AddToIisIfNotExists ( ) : void

Adds pool to IIS if not exists.

Dispose ( ) : void

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

IisApplicationPool ( ApplicationPool pool ) : System

Initializes a new instance of the IisApplicationPool class.

IisApplicationPool ( string poolName, string managedRuntimeVersion = DefaultManagedRuntimeVersion, string pipeline = DefaultPipeline, bool enable32BitAppOnWin64 = false ) : System

Initializes a new instance of the IisApplicationPool class.

Recycle ( ) : void

Recycles application pool in IIS.

Remove ( ) : void

Removes the pool from IIS

Method Details

AddToIisIfNotExists() public méthode

Adds pool to IIS if not exists.
public AddToIisIfNotExists ( ) : void
Résultat void

Dispose() public méthode

Disposes the instance of IIS Application Pool and frees the underlying resources, can reduce the amount of the memory leak in Server Manager
public Dispose ( ) : void
Résultat void

IisApplicationPool() public méthode

Initializes a new instance of the IisApplicationPool class.
public IisApplicationPool ( ApplicationPool pool ) : System
pool Microsoft.Web.Administration.ApplicationPool /// The pool. ///
Résultat System

IisApplicationPool() public méthode

Initializes a new instance of the IisApplicationPool class.
public IisApplicationPool ( string poolName, string managedRuntimeVersion = DefaultManagedRuntimeVersion, string pipeline = DefaultPipeline, bool enable32BitAppOnWin64 = false ) : System
poolName string /// The pool name. ///
managedRuntimeVersion string /// The managed Runtime Version. ///
pipeline string /// The pipeline. ///
enable32BitAppOnWin64 bool determines if enable32BitAppOnWin64 is required for the pool
Résultat System

Recycle() public méthode

Recycles application pool in IIS.
public Recycle ( ) : void
Résultat void

Remove() public méthode

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