TeamFoundationTrace Methods

Include Protected Members
Include Inherited Members

The TeamFoundationTrace type exposes the following members.

Methods

  Name Description
Public methodStatic member Enter(String) Start a nested trace block with the specified message.
Public methodStatic member Enter(TraceType, String) Start a nested trace block with the specified trace category and message.
Public methodStatic member Enter(TraceType, TraceLevel, String) Start a nested trace block with the specified trace category, level, and message.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public methodStatic member Error(String) Write a message to the trace output.
Public methodStatic member Error(String, Exception) Write an exception to the trace output.
Public methodStatic member Error(String, array<Object[]) Writes a message to the trace output.
Public methodStatic member Error(TraceType, String) Trace an error if the error level is set for the specified category.
Public methodStatic member Error(TraceType, String, array<Object[]) Write a message to the trace output using the specified category.
Public methodStatic member Error(TraceType, String, String, Exception) Write an exception, functional category and method to the trace output.
Public methodStatic member ErrorIf(Boolean, String) Conditionally write a message to the trace output.
Public methodStatic member ErrorIf(Boolean, String, array<Object[]) Conditionally write a message to the trace output.
Public methodStatic member Exit(String) Complete a nested trace block created by Enter.
Public methodStatic member Exit(TraceType, String) Complete a nested trace block created by Enter.
Public methodStatic member Exit(TraceType, TraceLevel, String) Complete a nested trace block created by Enter.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public methodStatic member Info(String) Writes an informational message to the trace output.
Public methodStatic member Info(String, array<Object[]) Writes an informational message to the trace output.
Public methodStatic member Info(TraceType, String) Writes an informational message to the trace output.
Public methodStatic member Info(TraceType, String, array<Object[]) Writes an informational message to the trace output.
Public methodStatic member InfoIf(Boolean, String) Conditionally write an informational message to the trace output.
Public methodStatic member InfoIf(Boolean, String, array<Object[]) Conditionally write a message to the trace output.
Public methodStatic member IsTracing(TraceType) Checks whether tracing is enabled at any level for the specified category.
Public methodStatic member IsTracing(TraceType, TraceLevel) Checks whether tracing is enabled at the specified level for the specified category.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public methodStatic member MethodEntry(array<Object[]) Trace entry into a method, including the method’s signature.
Public methodStatic member MethodEntry(Int32, array<Object[]) Trace entry into a method, including the method’s signature.
Public methodStatic member MethodExit() Trace method exit, including the method's signature.
Public methodStatic member MethodExit(Int32) Trace method exit, including the method's signature.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public methodStatic member TraceAndDebugFailException Write an exception to the trace output and fail with the specified exception.
Public methodStatic member TraceException(Exception) Write an exception to the trace output.
Public methodStatic member TraceException(TraceType, Exception) Write an exception to the trace output with the specified category.
Public methodStatic member TraceException(String, String, Exception) Write an exception to the trace output with the specified category.
Public methodStatic member Verbose(String) Writes a detailed message to the trace output.
Public methodStatic member Verbose(String, array<Object[]) Writes a detailed message to the trace output.
Public methodStatic member Verbose(TraceType, String) Writes a detailed message to the trace output.
Public methodStatic member Verbose(TraceType, String, array<Object[]) Writes a detailed message to the trace output.
Public methodStatic member VerboseIf(Boolean, String) Conditionally writes a detailed message to the trace output.
Public methodStatic member VerboseIf(Boolean, String, array<Object[]) Conditionally writes a detailed message to the trace output.
Public methodStatic member Warning(String) Writes a warning message to the trace output.
Public methodStatic member Warning(String, array<Object[]) Writes a warning message to the trace output.
Public methodStatic member Warning(TraceType, String) Writes a warning message to the trace output.
Public methodStatic member Warning(TraceType, String, array<Object[]) Writes a warning message to the trace output.
Public methodStatic member WarningIf(Boolean, String) Conditionally writes a warning message to the trace output.
Public methodStatic member WarningIf(Boolean, String, array<Object[]) Conditionally writes a warning message to the trace output.

Top

See Also

Reference

TeamFoundationTrace Class

Microsoft.TeamFoundation Namespace