log4net SDK Reference |

# DomainAttribute Constructor

Initializes a new instance of the DomainAttribute class.

#### Overload List

Initializes a new instance of the DomainAttribute class.

> public DomainAttribute();

Initialize a new instance of the DomainAttribute class with the name of the domain.

> public DomainAttribute(string);

#### See Also

DomainAttribute Class | log4net.Config Namespace