TeamFoundationTrace Class
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 | |
---|---|---|
TeamFoundationTrace | Initializes a new instance of the TeamFoundationTrace class. |
Top
Methods
Name | Description | |
---|---|---|
Enter(String) | Start a nested trace block with the specified message. | |
Enter(TraceType, String) | Start a nested trace block with the specified trace category and message. | |
Enter(TraceType, TraceLevel, String) | Start a nested trace block with the specified trace category, level, and message. | |
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(TraceType, String) | Trace an error if the error level is set for the specified category. | |
Error(TraceType, String, array<Object[]) | Write a message to the trace output using the specified category. | |
Error(TraceType, String, String, Exception) | Write an exception, functional category 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(TraceType, String) | Complete a nested trace block created by Enter. | |
Exit(TraceType, TraceLevel, String) | Complete a nested trace block created by Enter. | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (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(TraceType, String) | Writes an informational message to the trace output. | |
Info(TraceType, String, array<Object[]) | Writes an informational 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(TraceType) | Checks whether tracing is enabled at any level for the specified category. | |
IsTracing(TraceType, TraceLevel) | Checks whether tracing is enabled at the specified level for the specified category. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
MethodEntry(array<Object[]) | Trace entry into a method, including the method’s signature. | |
MethodEntry(Int32, array<Object[]) | Trace entry into a method, including the method’s signature. | |
MethodExit() | Trace method exit, including the method's signature. | |
MethodExit(Int32) | Trace method exit, including the method's signature. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TraceAndDebugFailException | Write an exception to the trace output and fail with the specified exception. | |
TraceException(Exception) | Write an exception to the trace output. | |
TraceException(TraceType, Exception) | Write an exception to the trace output with the specified category. | |
TraceException(String, String, Exception) | Write an exception to the trace output with the specified category. | |
Verbose(String) | Writes a detailed message to the trace output. | |
Verbose(String, array<Object[]) | Writes a detailed message to the trace output. | |
Verbose(TraceType, String) | Writes a detailed message to the trace output. | |
Verbose(TraceType, String, array<Object[]) | Writes a detailed 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(TraceType, String) | Writes a warning message to the trace output. | |
Warning(TraceType, String, array<Object[]) | Writes a warning 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. |
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.