Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
Properties
| 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). |
Top
Methods
| 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. |
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.
.gif)
.gif)
.gif)