# WebBase

Base class for all IIS-related task.

Basically this class hold the logic to determine the IIS version as well as the IIS server/port determination/checking logic.

### Parameters

Attribute | Type | Description | Required
--- | --- | --- | ---
vdirname | string | Name of the IIS virtual directory. | True
iisserver | string | The IIS server, which can be specified using the format `[host]:[port]`. The default is `localhost:80`. | False
website | string | The website on the IIS server. | False
failonerror | bool | Determines if task failure stops the build, or is just reported. The default is true. | False
if | bool | If true then the task will be executed; otherwise, skipped. The default is true. | False
unless | bool | Opposite of `if`. If false then the task will be executed; otherwise, skipped. The default is false. | False
verbose | bool | Determines whether the task should report detailed build log messages. The default is false. | False

### Requirements

Assembly: NAnt.Contrib.Tasks (0.85.2479.0)