FileLogTraceListener::GetSupportedAttributes Method ()

 

Gets the custom XML configuration attributes supported by the trace listener.

Namespace:   Microsoft.VisualBasic.Logging
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

protected:
[HostProtectionAttribute(SecurityAction::LinkDemand, Synchronization = true)]
virtual array<String^>^ GetSupportedAttributes() override

Return Value

Type: array<System::String^>^

String array containing the XML configuration attributes recognized by this listener.

The custom attributes for the FileLogTraceListener can be used in the XML configuration file for controlling the behavior of an instance of the FileLogTraceListener class. Using any other attribute causes a configuration exception.

.NET Framework
Available since 2.0
Return to top
Show: