EventSchemaTraceListener.GetSupportedAttributes Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the custom XML configuration attributes that the trace listener supports.
protected:
override cli::array <System::String ^> ^ GetSupportedAttributes();
protected override string[] GetSupportedAttributes ();
override this.GetSupportedAttributes : unit -> string[]
Protected Overrides Function GetSupportedAttributes () As String()
Returns
A String array that contains the XML configuration attributes recognized by this listener.
Remarks
The custom attributes that are returned by this method can be used in the XML configuration file to control the behavior of an instance of the EventSchemaTraceListener class. Using any other attribute causes a configuration exception. The GetSupportedAttributes method for the EventSchemaTraceListener returns the following string array values: "bufferSize", "logRetentionOption", "maximumFileSize", and "maximumNumberOfFiles".