TeamFoundationTrace Class

Represents a trace on Team Foundation Server.

System.Object
  Microsoft.TeamFoundation.TeamFoundationTrace

Namespace:  Microsoft.TeamFoundation
Assembly:  Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)

public sealed class TeamFoundationTrace

The TeamFoundationTrace type exposes the following members.

  NameDescription
Public methodTeamFoundationTraceInitializes a new instance of the TeamFoundationTrace class.
Top

  NameDescription
Public propertyStatic memberIsTracingEnabledCheck 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

  NameDescription
Public methodStatic memberEnter(String)Start a nested trace block with the specified message.
Public methodStatic memberEnter(String[], String)See overload
Public methodStatic memberEnter(String[], TraceLevel, String)Start a nested trace block; the block is completed using Exit()
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodStatic memberError(String)Write a message to the trace output.
Public methodStatic memberError(String, Exception)Write an exception to the trace output.
Public methodStatic memberError(String, Object[])Writes a message to the trace output.
Public methodStatic memberError(String[], Exception)Write an exception to the trace output
Public methodStatic memberError(String[], String)Trace a message if the error level is set for the category
Public methodStatic memberError(String[], String, Object[])Write a message to the trace output using the specified category
Public methodStatic memberError(String[], String, String, Exception)Write an exception, information, and method to the trace output
Public methodStatic memberErrorIf(Boolean, String)Conditionally write a message to the trace output.
Public methodStatic memberErrorIf(Boolean, String, Object[])Conditionally write a message to the trace output.
Public methodStatic memberExit(String)Complete a nested trace block created by Enter.
Public methodStatic memberExit(String[], String)See overload.
Public methodStatic memberExit(String[], TraceLevel, String)Complete a nested trace block created by Enter()
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodStatic memberInfo(String)Writes an informational message to the trace output.
Public methodStatic memberInfo(String, Object[])Writes an informational message to the trace output.
Public methodStatic memberInfo(String[], String)Trace a message if the information level is set for the keywords
Public methodStatic memberInfo(String[], String, Object[])Write a message to the trace output
Public methodStatic memberInfoIf(Boolean, String)Conditionally write an informational message to the trace output.
Public methodStatic memberInfoIf(Boolean, String, Object[])Conditionally write a message to the trace output.
Public methodStatic memberIsTracing(String)Check to see whether tracing is enabled for any of the specified keywords.
Public methodStatic memberIsTracing(String[])Check to see whether tracing is enabled for any of the specified keywords.
Public methodStatic memberIsTracing(String, TraceLevel)Check to see whether tracing is enabled at the specified level for any of the keywords.
Public methodStatic memberIsTracing(String[], TraceLevel)Check to see whether tracing is enabled at the specified level for any of the keywords.
Public methodStatic memberMethodEntry(Object[])Trace entry into a method. This includes the method’s signature.
Public methodStatic memberMethodEntry(Int32, Object[])Trace entry into a method. This includes the method’s signature.
Public methodStatic memberMethodExit()Trace method exit. This includes the method's signature.
Public methodStatic memberMethodExit(Int32)Trace method exit. This includes the method's signature.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodStatic memberTraceAndDebugFailException(Exception)Write an exception to the trace output and fail with the specified exception.
Public methodStatic memberTraceAndDebugFailException(String[], Exception)Write an exception to the trace output and Debug.Fail with the exception message
Public methodStatic memberTraceCallStackTrackStack is used to output the current call stack.
Public methodStatic memberTraceException(Exception)Write an exception to the trace output.
Public methodStatic memberTraceException(String[], Exception)Write an exception to the trace category output.
Public methodStatic memberTraceException(String, String, Exception)Write an exception to the trace output with the specified category.
Public methodStatic memberTraceException(String[], String, Exception)Write an exception to the trace output
Public methodStatic memberVerbose(String)Writes a detailed message to the trace output.
Public methodStatic memberVerbose(String, Object[])Writes a detailed message to the trace output.
Public methodStatic memberVerbose(String[], String)Trace a message if the verbose level is set for the keywords
Public methodStatic memberVerbose(String[], String, Object[])Write a message to the trace output
Public methodStatic memberVerboseIf(Boolean, String)Conditionally writes a detailed message to the trace output.
Public methodStatic memberVerboseIf(Boolean, String, Object[])Conditionally writes a detailed message to the trace output.
Public methodStatic memberWarning(String)Writes a warning message to the trace output.
Public methodStatic memberWarning(String, Object[])Writes a warning message to the trace output.
Public methodStatic memberWarning(String[], String)Trace a message if the warning level is set for the keyword
Public methodStatic memberWarning(String[], String, Object[])Write a message to the trace output
Public methodStatic memberWarningIf(Boolean, String)Conditionally writes a warning message to the trace output.
Public methodStatic memberWarningIf(Boolean, String, Object[])Conditionally writes a warning message to the trace output.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft