C# Класс AutomationDrivers.IisExpressHost.IisExpress

Наследование: IDisposable
Показать файл Открыть проект

Открытые методы

Метод Описание
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