TraceSource Methods
.NET Framework 4.5
The TraceSource type exposes the following members.
| Name | Description | |
|---|---|---|
|
Close | Closes all the trace listeners in the trace listener collection. |
|
Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
Flush | Flushes all the trace listeners in the trace listener collection. |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetSupportedAttributes | Gets the custom attributes supported by the trace source. |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
|
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. |
|
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. |
|
TraceEvent(TraceEventType, Int32) | Writes a trace event message to the trace listeners in the Listeners collection using the specified event type and event identifier. |
|
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. |
|
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. |
|
TraceInformation(String) | Writes an informational message to the trace listeners in the Listeners collection using the specified message. |
|
TraceInformation(String, Object[]) | Writes an informational message to the trace listeners in the Listeners collection using the specified object array and formatting information. |
|
TraceTransfer | Writes a trace transfer message to the trace listeners in the Listeners collection using the specified numeric identifier, message, and related activity identifier. |