EventSchemaTraceListener.GetSupportedAttributes Metoda

Definice

Získá vlastní atributy konfigurace XML, které trasovací naslouchací proces podporuje.

protected:
 override cli::array <System::String ^> ^ GetSupportedAttributes();
protected override string[] GetSupportedAttributes ();
override this.GetSupportedAttributes : unit -> string[]
Protected Overrides Function GetSupportedAttributes () As String()

Návraty

String[]

Pole String , které obsahuje atributy konfigurace XML rozpoznané tímto naslouchacím procesem.

Poznámky

Vlastní atributy, které jsou vráceny touto metodou lze použít v konfiguračním souboru XML k řízení chování instance EventSchemaTraceListener třídy. Použití jakéhokoli jiného atributu způsobí výjimku konfigurace. Metoda GetSupportedAttributes pro EventSchemaTraceListener vrátí následující hodnoty pole řetězců: "bufferSize", "logRetentionOption", "maximumFileSize" a "maximumNumberOfFiles".

Platí pro