Represents a trace on Team Foundation Server.
Inheritance Hierarchy
System.Object
  Microsoft.TeamFoundation.TeamFoundationTrace
Namespace:  Microsoft.TeamFoundation
Assembly:  Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
'Declaration
Public NotInheritable Class TeamFoundationTrace
public sealed class TeamFoundationTrace
public ref class TeamFoundationTrace sealed
[<Sealed>]
type TeamFoundationTrace =  class end
public final class TeamFoundationTrace
The TeamFoundationTrace type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | TeamFoundationTrace | Initializes a new instance of the TeamFoundationTrace class. | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) .gif) | IsTracingEnabled | Check to see whether tracing is enabled. For efficiency, this method can be called before any other trace methods that would do more work (keyword lookup, etc). | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) .gif) | Enter(String) | Start a nested trace block with the specified message. | 
| .gif) .gif) | Enter(array<String[], String) | See overload | 
| .gif) .gif) | Enter(array<String[], TraceLevel, String) | Start a nested trace block; the block is completed using Exit() | 
| .gif) | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | 
| .gif) .gif) | Error(String) | Write a message to the trace output. | 
| .gif) .gif) | Error(String, Exception) | Write an exception to the trace output. | 
| .gif) .gif) | Error(String, array<Object[]) | Writes a message to the trace output. | 
| .gif) .gif) | Error(array<String[], Exception) | Write an exception to the trace output | 
| .gif) .gif) | Error(array<String[], String) | Trace a message if the error level is set for the category | 
| .gif) .gif) | Error(array<String[], String, array<Object[]) | Write a message to the trace output using the specified category | 
| .gif) .gif) | Error(array<String[], String, String, Exception) | Write an exception, information, and method to the trace output | 
| .gif) .gif) | ErrorIf(Boolean, String) | Conditionally write a message to the trace output. | 
| .gif) .gif) | ErrorIf(Boolean, String, array<Object[]) | Conditionally write a message to the trace output. | 
| .gif) .gif) | Exit(String) | Complete a nested trace block created by Enter. | 
| .gif) .gif) | Exit(array<String[], String) | See overload. | 
| .gif) .gif) | Exit(array<String[], TraceLevel, String) | Complete a nested trace block created by Enter() | 
| .gif) | GetHashCode | Serves as the default hash function. (Inherited from Object.) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) .gif) | Info(String) | Writes an informational message to the trace output. | 
| .gif) .gif) | Info(String, array<Object[]) | Writes an informational message to the trace output. | 
| .gif) .gif) | Info(array<String[], String) | Trace a message if the information level is set for the keywords | 
| .gif) .gif) | Info(array<String[], String, array<Object[]) | Write a message to the trace output | 
| .gif) .gif) | InfoIf(Boolean, String) | Conditionally write an informational message to the trace output. | 
| .gif) .gif) | InfoIf(Boolean, String, array<Object[]) | Conditionally write a message to the trace output. | 
| .gif) .gif) | IsTracing(String) | Check to see whether tracing is enabled for any of the specified keywords. | 
| .gif) .gif) | IsTracing(array<String[]) | Check to see whether tracing is enabled for any of the specified keywords. | 
| .gif) .gif) | IsTracing(String, TraceLevel) | Check to see whether tracing is enabled at the specified level for any of the keywords. | 
| .gif) .gif) | IsTracing(array<String[], TraceLevel) | Check to see whether tracing is enabled at the specified level for any of the keywords. | 
| .gif) .gif) | MethodEntry(array<Object[]) | Trace entry into a method. This includes the method’s signature. | 
| .gif) .gif) | MethodEntry(Int32, array<Object[]) | Trace entry into a method. This includes the method’s signature. | 
| .gif) .gif) | MethodExit() | Trace method exit. This includes the method's signature. | 
| .gif) .gif) | MethodExit(Int32) | Trace method exit. This includes the method's signature. | 
| .gif) | ToString | Returns a string that represents the current object. (Inherited from Object.) | 
| .gif) .gif) | TraceAndDebugFailException(Exception) | Write an exception to the trace output and fail with the specified exception. | 
| .gif) .gif) | TraceAndDebugFailException(array<String[], Exception) | Write an exception to the trace output and Debug.Fail with the exception message | 
| .gif) .gif) | TraceCallStack | TrackStack is used to output the current call stack. | 
| .gif) .gif) | TraceException(Exception) | Write an exception to the trace output. | 
| .gif) .gif) | TraceException(array<String[], Exception) | Write an exception to the trace category output. | 
| .gif) .gif) | TraceException(String, String, Exception) | Write an exception to the trace output with the specified category. | 
| .gif) .gif) | TraceException(array<String[], String, Exception) | Write an exception to the trace output | 
| .gif) .gif) | Verbose(String) | Writes a detailed message to the trace output. | 
| .gif) .gif) | Verbose(String, array<Object[]) | Writes a detailed message to the trace output. | 
| .gif) .gif) | Verbose(array<String[], String) | Trace a message if the verbose level is set for the keywords | 
| .gif) .gif) | Verbose(array<String[], String, array<Object[]) | Write a message to the trace output | 
| .gif) .gif) | VerboseIf(Boolean, String) | Conditionally writes a detailed message to the trace output. | 
| .gif) .gif) | VerboseIf(Boolean, String, array<Object[]) | Conditionally writes a detailed message to the trace output. | 
| .gif) .gif) | Warning(String) | Writes a warning message to the trace output. | 
| .gif) .gif) | Warning(String, array<Object[]) | Writes a warning message to the trace output. | 
| .gif) .gif) | Warning(array<String[], String) | Trace a message if the warning level is set for the keyword | 
| .gif) .gif) | Warning(array<String[], String, array<Object[]) | Write a message to the trace output | 
| .gif) .gif) | WarningIf(Boolean, String) | Conditionally writes a warning message to the trace output. | 
| .gif) .gif) | WarningIf(Boolean, String, array<Object[]) | Conditionally writes a warning message to the trace output. | 
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.