C# 클래스 AutomationDrivers.IisExpressHost.IisExpress

상속: IDisposable
파일 보기 프로젝트 열기: ritterim/AutomationDrivers

공개 메소드들

메소드 설명
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

IisExpress ( string path, int port ) : System

Initializes a new instance of the IISExpressHost class.

Quit ( ) : void

Kills the IISExpress application based on the assigned pId

Start ( CancellationToken cancellationToken = default(CancellationToken) ) : Task

Starts the given cancellation token.

Stop ( ) : Task

Gets the stop.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Releases the unmanaged resources used by the Web.UI.Tests.IISExpress.IISExpressHost and optionally releases the managed resources.

비공개 메소드들

메소드 설명
SendStopMessageToProcess ( int pid ) : void

Sends a stop message to process.

메소드 상세

Dispose() 공개 메소드

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

Releases the unmanaged resources used by the Web.UI.Tests.IISExpress.IISExpressHost and optionally releases the managed resources.
protected Dispose ( bool disposing ) : void
disposing bool /// true to release both managed and unmanaged resources; false to release only unmanaged /// resources. ///
리턴 void

IisExpress() 공개 메소드

Initializes a new instance of the IISExpressHost class.
/// Thrown when the requested directory is not present. /// /// Thrown when one or more arguments are outside the required range. ///
public IisExpress ( string path, int port ) : System
path string The full path to the targeted web project
port int The port assigned by ProcessFactory.GetAvailablePort()
리턴 System

Quit() 공개 메소드

Kills the IISExpress application based on the assigned pId
public Quit ( ) : void
리턴 void

Start() 공개 메소드

Starts the given cancellation token.
public Start ( CancellationToken cancellationToken = default(CancellationToken) ) : Task
cancellationToken System.Threading.CancellationToken The cancellation token.
리턴 Task

Stop() 공개 메소드

Gets the stop.
public Stop ( ) : Task
리턴 Task