This documentation is archived and is not being maintained.
TeamFoundationTrace Class
Visual Studio 2013
Represents a trace on Team Foundation Server.
Namespace: Microsoft.TeamFoundation
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
The TeamFoundationTrace type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | 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). |
| Name | Description | |
|---|---|---|
![]() ![]() | Enter(String) | Start a nested trace block with the specified message. |
![]() ![]() | Enter(array<String>, String) | See overload |
![]() ![]() | Enter(array<String>, TraceLevel, String) | Start a nested trace block; the block is completed using Exit() |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() ![]() | Error(String) | Write a message to the trace output. |
![]() ![]() | Error(String, Exception) | Write an exception to the trace output. |
![]() ![]() | Error(String, array<Object>) | Writes a message to the trace output. |
![]() ![]() | Error(array<String>, Exception) | Write an exception to the trace output |
![]() ![]() | Error(array<String>, String) | Trace a message if the error level is set for the category |
![]() ![]() | Error(array<String>, String, array<Object>) | Write a message to the trace output using the specified category |
![]() ![]() | Error(array<String>, String, String, Exception) | Write an exception, information, and method to the trace output |
![]() ![]() | ErrorIf(Boolean, String) | Conditionally write a message to the trace output. |
![]() ![]() | ErrorIf(Boolean, String, array<Object>) | Conditionally write a message to the trace output. |
![]() ![]() | Exit(String) | Complete a nested trace block created by Enter. |
![]() ![]() | Exit(array<String>, String) | See overload. |
![]() ![]() | Exit(array<String>, TraceLevel, String) | Complete a nested trace block created by Enter() |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() | Info(String) | Writes an informational message to the trace output. |
![]() ![]() | Info(String, array<Object>) | Writes an informational message to the trace output. |
![]() ![]() | Info(array<String>, String) | Trace a message if the information level is set for the keywords |
![]() ![]() | Info(array<String>, String, array<Object>) | Write a message to the trace output |
![]() ![]() | InfoIf(Boolean, String) | Conditionally write an informational message to the trace output. |
![]() ![]() | InfoIf(Boolean, String, array<Object>) | Conditionally write a message to the trace output. |
![]() ![]() | IsTracing(String) | Check to see whether tracing is enabled for any of the specified keywords. |
![]() ![]() | IsTracing(array<String>) | Check to see whether tracing is enabled for any of the specified keywords. |
![]() ![]() | IsTracing(String, TraceLevel) | Check to see whether tracing is enabled at the specified level for any of the keywords. |
![]() ![]() | IsTracing(array<String>, TraceLevel) | Check to see whether tracing is enabled at the specified level for any of the keywords. |
![]() ![]() | MethodEntry(array<Object>) | Trace entry into a method. This includes the method’s signature. |
![]() ![]() | MethodEntry(Int32, array<Object>) | Trace entry into a method. This includes the method’s signature. |
![]() ![]() | MethodExit() | Trace method exit. This includes the method's signature. |
![]() ![]() | MethodExit(Int32) | Trace method exit. This includes the method's signature. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() ![]() | TraceAndDebugFailException(Exception) | Write an exception to the trace output and fail with the specified exception. |
![]() ![]() | TraceAndDebugFailException(array<String>, Exception) | Write an exception to the trace output and Debug.Fail with the exception message |
![]() ![]() | TraceCallStack | TrackStack is used to output the current call stack. |
![]() ![]() | TraceException(Exception) | Write an exception to the trace output. |
![]() ![]() | TraceException(array<String>, Exception) | Write an exception to the trace category output. |
![]() ![]() | TraceException(String, String, Exception) | Write an exception to the trace output with the specified category. |
![]() ![]() | TraceException(array<String>, String, Exception) | Write an exception to the trace output |
![]() ![]() | Verbose(String) | Writes a detailed message to the trace output. |
![]() ![]() | Verbose(String, array<Object>) | Writes a detailed message to the trace output. |
![]() ![]() | Verbose(array<String>, String) | Trace a message if the verbose level is set for the keywords |
![]() ![]() | Verbose(array<String>, String, array<Object>) | Write a message to the trace output |
![]() ![]() | VerboseIf(Boolean, String) | Conditionally writes a detailed message to the trace output. |
![]() ![]() | VerboseIf(Boolean, String, array<Object>) | Conditionally writes a detailed message to the trace output. |
![]() ![]() | Warning(String) | Writes a warning message to the trace output. |
![]() ![]() | Warning(String, array<Object>) | Writes a warning message to the trace output. |
![]() ![]() | Warning(array<String>, String) | Trace a message if the warning level is set for the keyword |
![]() ![]() | Warning(array<String>, String, array<Object>) | Write a message to the trace output |
![]() ![]() | WarningIf(Boolean, String) | Conditionally writes a warning message to the trace output. |
![]() ![]() | WarningIf(Boolean, String, array<Object>) | Conditionally writes a warning message to the trace output. |
Show:
