DomainAttribute Constructor (String) | Apache log4net™ SDK Documentation

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

Namespace: log4net.Config
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    public DomainAttribute(
    	string name
    )

    Public Sub New (
    	name As String
    )

    public:
    DomainAttribute(
    	String^ name
    )

    new :
            name : string -> DomainAttribute

#### Parameters

name
  Type: System
  String
  The name of the domain.

Remarks

Obsolete. Use RepositoryAttribute instead of DomainAttribute.

See Also

#### Reference

DomainAttribute Class
DomainAttribute Overload
log4net.Config Namespace