Class FinAdminTraceListener
Special TraceListener that redirects all generic TRACE output to the given StringBuilder.
Inheritance
System.Object
System.MarshalByRefObject
System.Diagnostics.TraceListener
FinAdminTraceListener
Implements
System.IDisposable
Inherited Members
System.Diagnostics.TraceListener.Dispose()
System.Diagnostics.TraceListener.Dispose(System.Boolean)
System.Diagnostics.TraceListener.Close()
System.Diagnostics.TraceListener.Flush()
System.Diagnostics.TraceListener.Fail(System.String)
System.Diagnostics.TraceListener.Fail(System.String, System.String)
System.Diagnostics.TraceListener.GetSupportedAttributes()
System.Diagnostics.TraceListener.Write(System.Object)
System.Diagnostics.TraceListener.Write(System.String, System.String)
System.Diagnostics.TraceListener.Write(System.Object, System.String)
System.Diagnostics.TraceListener.WriteIndent()
System.Diagnostics.TraceListener.WriteLine(System.Object)
System.Diagnostics.TraceListener.WriteLine(System.String, System.String)
System.Diagnostics.TraceListener.WriteLine(System.Object, System.String)
System.Diagnostics.TraceListener.TraceData(System.Diagnostics.TraceEventCache, System.String, System.Diagnostics.TraceEventType, System.Int32, System.Object)
System.Diagnostics.TraceListener.TraceData(System.Diagnostics.TraceEventCache, System.String, System.Diagnostics.TraceEventType, System.Int32, System.Object[])
System.Diagnostics.TraceListener.TraceEvent(System.Diagnostics.TraceEventCache, System.String, System.Diagnostics.TraceEventType, System.Int32)
System.Diagnostics.TraceListener.TraceEvent(System.Diagnostics.TraceEventCache, System.String, System.Diagnostics.TraceEventType, System.Int32, System.String)
System.Diagnostics.TraceListener.TraceEvent(System.Diagnostics.TraceEventCache, System.String, System.Diagnostics.TraceEventType, System.Int32, System.String, System.Object[])
System.Diagnostics.TraceListener.TraceTransfer(System.Diagnostics.TraceEventCache, System.String, System.Int32, System.String, System.Guid)
System.Diagnostics.TraceListener.Attributes
System.Diagnostics.TraceListener.Name
System.Diagnostics.TraceListener.IsThreadSafe
System.Diagnostics.TraceListener.IndentLevel
System.Diagnostics.TraceListener.IndentSize
System.Diagnostics.TraceListener.Filter
System.Diagnostics.TraceListener.NeedIndent
System.Diagnostics.TraceListener.TraceOutputOptions
System.MarshalByRefObject.MemberwiseClone(System.Boolean)
System.MarshalByRefObject.GetLifetimeService()
System.MarshalByRefObject.InitializeLifetimeService()
System.MarshalByRefObject.CreateObjRef(System.Type)
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Subsembly.FinTS.Forms
Assembly: Subsembly.FinTS.Win32.dll
Syntax
public class FinAdminTraceListener : TraceListener, IDisposable
Constructors
FinAdminTraceListener(StringBuilder)
Declaration
public FinAdminTraceListener(StringBuilder sb)
Parameters
Type | Name | Description |
---|---|---|
System.Text.StringBuilder | sb | Optional StringBuilder instance which will receive the trace. If this is
|
Fields
FINADMINTRACELISTENER_NAME
The name which is used to register the trace listener.
Declaration
public const string FINADMINTRACELISTENER_NAME = "FinAdminTraceListener"
Field Value
Type | Description |
---|---|
System.String |
Properties
TraceString
Provides a string with the collected trace output.
Declaration
public string TraceString { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Clear()
Reset the collected trace.
Declaration
public void Clear()
Install()
Create and install a new FinAdminTraceListener.
Declaration
public static FinAdminTraceListener Install()
Returns
Type | Description |
---|---|
FinAdminTraceListener |
Remove()
Removes this TraceListener, so that it will not capture any more trace output.
Declaration
public void Remove()
Write(String)
Declaration
public override void Write(string sMessage)
Parameters
Type | Name | Description |
---|---|---|
System.String | sMessage |
Overrides
System.Diagnostics.TraceListener.Write(System.String)
WriteLine(String)
Declaration
public override void WriteLine(string sMessage)
Parameters
Type | Name | Description |
---|---|---|
System.String | sMessage |
Overrides
System.Diagnostics.TraceListener.WriteLine(System.String)
Implements
System.IDisposable