Redigeeri

Jagamisviis:


EventSchemaTraceListener.GetSupportedAttributes Method

Definition

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

String[]

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".

Applies to