EventSchemaTraceListener.GetSupportedAttributes 메서드

정의

추적 수신기가 지원하는 사용자 지정 XML 구성 특성을 가져옵니다.

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

반환

String[]

이 수신기가 인식하는 XML 구성 특성이 포함된 String 배열입니다.

설명

이 메서드에서 반환되는 사용자 지정 특성을 XML 구성 파일에서 사용하여 클래스의 instance 동작을 EventSchemaTraceListener 제어할 수 있습니다. 다른 특성을 사용하면 구성 예외가 발생합니다. 에 대한 EventSchemaTraceListener 메서드는 GetSupportedAttributes "bufferSize", "logRetentionOption", "maximumFileSize" 및 "maximumNumberOfFiles" 문자열 배열 값을 반환합니다.

적용 대상