StructuredTraceSource MembersCleanCode C# Libraries v1.2.03 API

The StructuredTraceSource type exposes the following members.
Constructors

  NameDescription
Public methodStructuredTraceSource(String)
Initializes a new instance of the StructuredTraceSource class.
Public methodStructuredTraceSource(String, SourceLevels)
Initializes a new instance of the StructuredTraceSource class.
Public methodStructuredTraceSource(String, TraceOptions)
Initializes a new instance of the StructuredTraceSource class.
Back to Top
Methods

  NameDescription
Public methodOnlineClose
Closes all the trace listeners in the trace listener collection.
(Inherited from OnlineTraceSource.)
Public methodDump
Dumps the contents of this object, enumerating all TraceListeners and the associated TraceSwitch.
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an OnlineObject to attempt to free resources and perform other cleanup operations before the OnlineObject is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineFlush
Flushes all the trace listeners in the trace listener collection.
(Inherited from OnlineTraceSource.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Protected methodOnlineGetSupportedAttributes
Gets the custom attributes supported by the trace source.
(Inherited from OnlineTraceSource.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodOnlineToString
Returns a OnlineString that represents the current OnlineObject.
(Inherited from OnlineObject.)
Public methodTraceBracket
Brackets the specified value with a hyphen on either side.
Public methodOnlineTraceData(TraceEventType, Int32, Object)
Writes trace data to the trace listeners in the OnlineListeners collection using the specified event type, event identifier, and trace data.
(Inherited from OnlineTraceSource.)
Public methodOnlineTraceData(TraceEventType, Int32,  Object )
Writes trace data to the trace listeners in the OnlineListeners collection using the specified event type, event identifier, and trace data array.
(Inherited from OnlineTraceSource.)
Public methodTraceEnter
Traces entering the specified method name, and increases the indentation.
Public methodTraceEnterEventHandler
Traces entering an event handler for a specific GUI component, and increases the indentation.
Public methodOnlineTraceEvent(TraceEventType, Int32)
Writes a trace event message to the trace listeners in the OnlineListeners collection using the specified event type and event identifier.
(Inherited from OnlineTraceSource.)
Public methodOnlineTraceEvent(TraceEventType, Int32, String)
Writes a trace event message to the trace listeners in the OnlineListeners collection using the specified event type, event identifier, and message.
(Inherited from OnlineTraceSource.)
Public methodOnlineTraceEvent(TraceEventType, Int32, String,  Object )
Writes a trace event to the trace listeners in the OnlineListeners collection using the specified event type, event identifier, and argument array and format.
(Inherited from OnlineTraceSource.)
Public methodOnlineTraceInformation(String)
Writes an informational message to the trace listeners in the OnlineListeners collection using the specified message.
(Inherited from OnlineTraceSource.)
Public methodOnlineTraceInformation(String,  Object )
Writes an informational message to the trace listeners in the OnlineListeners collection using the specified object array and formatting information.
(Inherited from OnlineTraceSource.)
Public methodTraceLeave
Traces leaving the specified method name, and decreases the indentation.
Public methodTraceLeaveEventHandler
Traces leaving an event handler for a specific GUI component, and decreases the indentation.
Public methodOnlineTraceTransfer
Writes a trace transfer message to the trace listeners in the OnlineListeners collection using the specified numeric identifier, message, and related activity identifier.
(Inherited from OnlineTraceSource.)
Back to Top
Properties

  NameDescription
Public propertyOnlineAttributes
Gets the custom switch attributes defined in the application configuration file.
(Inherited from OnlineTraceSource.)
Public propertyStatic memberBracketBarSize
Gets or sets the size of the bracket bar used by the TraceBracket(String) method.
Public propertyCreateEventId
Gets or sets the event ID associated with instantiating a StructuredTraceSource.
Public propertyStatic memberCreateLabel
Gets or sets the label indicating creation of a StructuredTraceSource object.
Public propertyEnterEventId
Gets or sets the event ID associated with entering a regular method (i.e. not an event handler method).
Public propertyStatic memberEnterLabel
Public propertyEventEnterEventId
Gets or sets the event ID associated with entering an event handler method.
Public propertyStatic memberEventLabel
Gets or sets the event handler label.
Public propertyEventLeaveEventId
Gets or sets the event ID associated with leaving an event handler method.
Public propertyLeaveEventId
Gets or sets the event ID associated with leaving a regular method (i.e. not an event handler method).
Public propertyStatic memberLeaveLabel
Public propertyOnlineListeners
Gets the collection of trace listeners for the trace source.
(Inherited from OnlineTraceSource.)
Public propertyOnlineName
Gets the name of the trace source.
(Inherited from OnlineTraceSource.)
Public propertyStatic memberSessionMarkerChar
Gets or sets the character repeated to make a session marker.
Public propertyStatic memberSessionMarkerLength
Gets or sets the length of the session marker.
Public propertyOnlineSwitch
Gets or sets the source switch value.
(Inherited from OnlineTraceSource.)
Back to Top
See Also