TeamFoundationSqlResourceComponent.TraceException Method

Report an exception at TraceLevel.Error to the trace log in a consistent way.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)


Protected Overridable Sub TraceException ( _
    tracepoint As Integer, _
    exception As Exception, _
    level As TraceLevel _
protected virtual void TraceException(
    int tracepoint,
    Exception exception,
    TraceLevel level
virtual void TraceException(
    int tracepoint, 
    Exception^ exception, 
    TraceLevel level
abstract TraceException : 
        tracepoint:int * 
        exception:Exception * 
        level:TraceLevel -> unit  
override TraceException : 
        tracepoint:int * 
        exception:Exception * 
        level:TraceLevel -> unit
protected function TraceException(
    tracepoint : int, 
    exception : Exception, 
    level : TraceLevel


  • tracepoint
    Type: System.Int32

    A unique number from a range reserved in TraceDefinition.cs that provides precise control over the trace level.

  • exception
    Type: System.Exception

    Details from the exception are extracted and traced.

.NET Framework Security

See Also


TeamFoundationSqlResourceComponent Class

Microsoft.TeamFoundation.Framework.Server Namespace