log4net SDK Reference |

# DOMConfiguratorAttribute Class

NOTE: This class is now obsolete.

Use XmlConfiguratorAttribute instead of DOMConfiguratorAttribute

Assembly level attribute to configure the XmlConfigurator.

For a list of all members of this type, see DOMConfiguratorAttribute Members.

System.Object
System.Attribute
log4net.Config.ConfiguratorAttribute
log4net.Config.XmlConfiguratorAttribute
log4net.Config.DOMConfiguratorAttribute

[Visual Basic]
NotInheritable Public Class DOMConfiguratorAttribute
Inherits XmlConfiguratorAttribute
[C#]
public sealed class DOMConfiguratorAttribute : XmlConfiguratorAttribute

#### Thread Safety

This type is not safe for multithreaded operations.

#### Remarks

AliasDomainAttribute is obsolete. Use AliasRepositoryAttribute instead of AliasDomainAttribute.

This attribute may only be used at the assembly scope and can only be used once per assembly.

Use this attribute to configure the XmlConfigurator without calling one of the Configure methods.

#### Requirements

Namespace: log4net.Config

Assembly: log4net (in log4net.dll)

#### See Also

DOMConfiguratorAttribute Members | log4net.Config Namespace