PostSharp 6.9 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics Namespace / Logging­Verbosity­Configuration Class / Logging­Verbosity­Configuration Methods / Logging­Verbosity­Configuration.​From­Xml Method

LoggingVerbosityConfiguration.FromXml Method

Sets the verbosities in this instance according to data from an XML file.

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.9.1.0 (6.9.1.0)
Syntax
C#
public void FromXml(
	XElement element
)

Parameters

element
Type: System.Xml.Linq.XElement
A <verbosity> XML element, or null.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionWhen an element other than verbosity was given.
See Also