Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

TeamFoundationTrace Methods

The TeamFoundationTrace type exposes the following members.

  Name Description
Public method Static member Enter(String) Start a nested trace block with the specified message.
Public method Static member Enter(String[], String) See overload
Public method Static member Enter(String[], TraceLevel, String) Start a nested trace block; the block is completed using Exit()
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method Static member Error(String) Write a message to the trace output.
Public method Static member Error(String, Exception) Write an exception to the trace output.
Public method Static member Error(String, Object[]) Writes a message to the trace output.
Public method Static member Error(String[], Exception) Write an exception to the trace output
Public method Static member Error(String[], String) Trace a message if the error level is set for the category
Public method Static member Error(String[], String, Object[]) Write a message to the trace output using the specified category
Public method Static member Error(String[], String, String, Exception) Write an exception, information, and method to the trace output
Public method Static member ErrorIf(Boolean, String) Conditionally write a message to the trace output.
Public method Static member ErrorIf(Boolean, String, Object[]) Conditionally write a message to the trace output.
Public method Static member Exit(String) Complete a nested trace block created by Enter.
Public method Static member Exit(String[], String) See overload.
Public method Static member Exit(String[], TraceLevel, String) Complete a nested trace block created by Enter()
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Static member Info(String) Writes an informational message to the trace output.
Public method Static member Info(String, Object[]) Writes an informational message to the trace output.
Public method Static member Info(String[], String) Trace a message if the information level is set for the keywords
Public method Static member Info(String[], String, Object[]) Write a message to the trace output
Public method Static member InfoIf(Boolean, String) Conditionally write an informational message to the trace output.
Public method Static member InfoIf(Boolean, String, Object[]) Conditionally write a message to the trace output.
Public method Static member IsTracing(String) Check to see whether tracing is enabled for any of the specified keywords.
Public method Static member IsTracing(String[]) Check to see whether tracing is enabled for any of the specified keywords.
Public method Static member IsTracing(String, TraceLevel) Check to see whether tracing is enabled at the specified level for any of the keywords.
Public method Static member IsTracing(String[], TraceLevel) Check to see whether tracing is enabled at the specified level for any of the keywords.
Public method Static member MethodEntry(Object[]) Trace entry into a method. This includes the method’s signature.
Public method Static member MethodEntry(Int32, Object[]) Trace entry into a method. This includes the method’s signature.
Public method Static member MethodExit() Trace method exit. This includes the method's signature.
Public method Static member MethodExit(Int32) Trace method exit. This includes the method's signature.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method Static member TraceAndDebugFailException(Exception) Write an exception to the trace output and fail with the specified exception.
Public method Static member TraceAndDebugFailException(String[], Exception) Write an exception to the trace output and Debug.Fail with the exception message
Public method Static member TraceCallStack TrackStack is used to output the current call stack.
Public method Static member TraceException(Exception) Write an exception to the trace output.
Public method Static member TraceException(String[], Exception) Write an exception to the trace category output.
Public method Static member TraceException(String, String, Exception) Write an exception to the trace output with the specified category.
Public method Static member TraceException(String[], String, Exception) Write an exception to the trace output
Public method Static member Verbose(String) Writes a detailed message to the trace output.
Public method Static member Verbose(String, Object[]) Writes a detailed message to the trace output.
Public method Static member Verbose(String[], String) Trace a message if the verbose level is set for the keywords
Public method Static member Verbose(String[], String, Object[]) Write a message to the trace output
Public method Static member VerboseIf(Boolean, String) Conditionally writes a detailed message to the trace output.
Public method Static member VerboseIf(Boolean, String, Object[]) Conditionally writes a detailed message to the trace output.
Public method Static member Warning(String) Writes a warning message to the trace output.
Public method Static member Warning(String, Object[]) Writes a warning message to the trace output.
Public method Static member Warning(String[], String) Trace a message if the warning level is set for the keyword
Public method Static member Warning(String[], String, Object[]) Write a message to the trace output
Public method Static member WarningIf(Boolean, String) Conditionally writes a warning message to the trace output.
Public method Static member WarningIf(Boolean, String, Object[]) Conditionally writes a warning message to the trace output.
Top
Show:
© 2015 Microsoft