Class FinAdminTraceListener

Namespace
Subsembly.FinTS.Forms
Assembly
Subsembly.FinTS.Win32.dll

Special TraceListener that redirects all generic TRACE output to the given StringBuilder.

public class FinAdminTraceListener : TraceListener, IDisposable
Inheritance
FinAdminTraceListener
Implements
Inherited Members

Constructors

FinAdminTraceListener(StringBuilder)

public FinAdminTraceListener(StringBuilder sb)

Parameters

sb StringBuilder

Optional StringBuilder instance which will receive the trace. If this is null, then a new StringBuilder instance will be created by this class.

Fields

FINADMINTRACELISTENER_NAME

The name which is used to register the trace listener.

public const string FINADMINTRACELISTENER_NAME = "FinAdminTraceListener"

Field Value

string

Properties

TraceString

Provides a string with the collected trace output.

public string TraceString { get; }

Property Value

string

Methods

Clear()

Reset the collected trace.

public void Clear()

Install()

Create and install a new FinAdminTraceListener.

public static FinAdminTraceListener Install()

Returns

FinAdminTraceListener

Remove()

Removes this TraceListener, so that it will not capture any more trace output.

public void Remove()

Write(string)

public override void Write(string sMessage)

Parameters

sMessage string

WriteLine(string)

public override void WriteLine(string sMessage)

Parameters

sMessage string