The StructuredTraceSource type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
StructuredTraceSource(String) |
Initializes a new instance of the StructuredTraceSource class.
| |
StructuredTraceSource(String, SourceLevels) |
Initializes a new instance of the StructuredTraceSource class.
| |
StructuredTraceSource(String, TraceOptions) |
Initializes a new instance of the StructuredTraceSource class.
|
Methods
Name | Description | |
---|---|---|
Close |
Closes all the trace listeners in the trace listener collection.
(Inherited from TraceSource.) | |
Dump |
Dumps the contents of this object, enumerating all TraceListeners
and the associated TraceSwitch.
| |
Equals | (Inherited from Object.) | |
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
Flush |
Flushes all the trace listeners in the trace listener collection.
(Inherited from TraceSource.) | |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
GetSupportedAttributes |
Gets the custom attributes supported by the trace source.
(Inherited from TraceSource.) | |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
ToString | (Inherited from Object.) | |
TraceBracket |
Brackets the specified value with a hyphen on either side.
| |
TraceData(TraceEventType, Int32, Object) |
Writes trace data to the trace listeners in the Listeners collection using the specified event type, event identifier, and trace data.
(Inherited from TraceSource.) | |
TraceData(TraceEventType, Int32, Object ) |
Writes trace data to the trace listeners in the Listeners collection using the specified event type, event identifier, and trace data array.
(Inherited from TraceSource.) | |
TraceEnter |
Traces entering the specified method name, and increases the indentation.
| |
TraceEnterEventHandler |
Traces entering an event handler for a specific GUI component,
and increases the indentation.
| |
TraceEvent(TraceEventType, Int32) |
Writes a trace event message to the trace listeners in the Listeners collection using the specified event type and event identifier.
(Inherited from TraceSource.) | |
TraceEvent(TraceEventType, Int32, String) |
Writes a trace event message to the trace listeners in the Listeners collection using the specified event type, event identifier, and message.
(Inherited from TraceSource.) | |
TraceEvent(TraceEventType, Int32, String, Object ) |
Writes a trace event to the trace listeners in the Listeners collection using the specified event type, event identifier, and argument array and format.
(Inherited from TraceSource.) | |
TraceInformation(String) |
Writes an informational message to the trace listeners in the Listeners collection using the specified message.
(Inherited from TraceSource.) | |
TraceInformation(String, Object ) |
Writes an informational message to the trace listeners in the Listeners collection using the specified object array and formatting information.
(Inherited from TraceSource.) | |
TraceLeave |
Traces leaving the specified method name, and decreases the indentation.
| |
TraceLeaveEventHandler |
Traces leaving an event handler for a specific GUI component,
and decreases the indentation.
| |
TraceTransfer |
Writes a trace transfer message to the trace listeners in the Listeners collection using the specified numeric identifier, message, and related activity identifier.
(Inherited from TraceSource.) |
Properties
Name | Description | |
---|---|---|
Attributes |
Gets the custom switch attributes defined in the application configuration file.
(Inherited from TraceSource.) | |
BracketBarSize |
Gets or sets the size of the bracket bar used by the TraceBracket(String) method.
| |
CreateEventId |
Gets or sets the event ID associated with instantiating a StructuredTraceSource.
| |
CreateLabel |
Gets or sets the label indicating creation of a StructuredTraceSource object.
| |
EnterEventId |
Gets or sets the event ID associated with entering a regular method
(i.e. not an event handler method).
| |
EnterLabel |
Gets or sets the label used by the TraceEnter
and TraceEnterEventHandler(Object) methods.
| |
EventEnterEventId |
Gets or sets the event ID associated with entering an event handler method.
| |
EventLabel |
Gets or sets the event handler label.
| |
EventLeaveEventId |
Gets or sets the event ID associated with leaving an event handler method.
| |
LeaveEventId |
Gets or sets the event ID associated with leaving a regular method
(i.e. not an event handler method).
| |
LeaveLabel |
Gets or sets the label used by the TraceLeave
and TraceLeaveEventHandler(Object) methods.
| |
Listeners |
Gets the collection of trace listeners for the trace source.
(Inherited from TraceSource.) | |
Name |
Gets the name of the trace source.
(Inherited from TraceSource.) | |
SessionMarkerChar |
Gets or sets the character repeated to make a session marker.
| |
SessionMarkerLength |
Gets or sets the length of the session marker.
| |
Switch |
Gets or sets the source switch value.
(Inherited from TraceSource.) |
See Also