C# Class FuncTest.IIS.IisApplicationPool

The IIS web application.
Inheritance: IDisposable
Show file Open project: Microsoft/ApplicationInsights-dotnet-server Class Usage Examples

Public Methods

Method 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 method

Adds pool to IIS if not exists.
public AddToIisIfNotExists ( ) : void
return void

Dispose() public method

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
return void

IisApplicationPool() public method

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

IisApplicationPool() public method

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
return System

Recycle() public method

Recycles application pool in IIS.
public Recycle ( ) : void
return void

Remove() public method

Removes the pool from IIS
public Remove ( ) : void
return void