log4net SDK Reference |

# DomainAttribute Constructor (String)

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

[Visual Basic]
Overloads Public Sub New( _
ByVal name As String _
)
[C#]
public DomainAttribute(
string name
);

#### Parameters

name
  The name of the domain.

#### Remarks

Obsolete. Use RepositoryAttribute instead of DomainAttribute.

#### See Also

DomainAttribute Class | log4net.Config Namespace | DomainAttribute Constructor Overload List