Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

AliasDomainAttribute Class

NOTE: This class is now obsolete.

Use AliasRepositoryAttribute instead of AliasDomainAttribute


Assembly level attribute that specifies a domain to alias to this assembly's repository.

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

System.Object
���System.Attribute
������log4net.Config.AliasRepositoryAttribute
���������log4net.Config.AliasDomainAttribute

[Visual�Basic]
NotInheritable�Public�Class�AliasDomainAttribute
����Inherits�AliasRepositoryAttribute
[C#]
public�sealed�class�AliasDomainAttribute : AliasRepositoryAttribute

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

AliasDomainAttribute is obsolete. Use AliasRepositoryAttribute instead of AliasDomainAttribute.

An assembly's logger repository is defined by its DomainAttribute, however this can be overridden by an assembly loaded before the target assembly.

An assembly can alias another assembly's domain to its repository by specifying this attribute with the name of the target domain.

This attribute can only be specified on the assembly and may be used as many times as necessary to alias all the required domains.

Requirements

Namespace: log4net.Config

Assembly: log4net (in log4net.dll)

See Also

AliasDomainAttribute Members | log4net.Config Namespace