This documentation is archived and is not being maintained.
TeamFoundationTracingExtensionMethods Class
Visual Studio 2013
Static class for Trace extension methods
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | TraceBlock(TeamFoundationRequestContext, Int32, Int32, String, String, String) | Calls requestContext.TraceEnter method and returns an IDisposable instance for the requestContext.TraceLeave call. This method call must be wrapped with a using statement. IDisposable.Dispose method is not thread safe. The caller needs to do synchronization if it wants to share IDisposable isntance with other threads. |
![]() ![]() | TraceBlock(TeamFoundationRequestContext, Int32, Int32, Int32, String, String, String, Action) | Wraps an action with TraceEnter and TraceLeave methods. When there is an exception it TraceException too. |
Show:
