Freigeben über


TeamFoundationRequestContext.TraceException Method (Int32, TraceLevel, String, String, Exception)

Trace an exception with an explicit level.

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

Syntax

'Declaration
Public Overridable Sub TraceException ( _
    tracepoint As Integer, _
    level As TraceLevel, _
    area As String, _
    layer As String, _
    exception As Exception _
)
public virtual void TraceException(
    int tracepoint,
    TraceLevel level,
    string area,
    string layer,
    Exception exception
)
public:
virtual void TraceException(
    int tracepoint, 
    TraceLevel level, 
    String^ area, 
    String^ layer, 
    Exception^ exception
)
abstract TraceException : 
        tracepoint:int * 
        level:TraceLevel * 
        area:string * 
        layer:string * 
        exception:Exception -> unit  
override TraceException : 
        tracepoint:int * 
        level:TraceLevel * 
        area:string * 
        layer:string * 
        exception:Exception -> unit
public function TraceException(
    tracepoint : int, 
    level : TraceLevel, 
    area : String, 
    layer : String, 
    exception : Exception
)

Parameters

.NET Framework Security

See Also

Reference

TeamFoundationRequestContext Class

TraceException Overload

Microsoft.TeamFoundation.Framework.Server Namespace