Freigeben über


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

Trace an exception.

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, _
    area As String, _
    layer As String, _
    exception As Exception _
)
public virtual void TraceException(
    int tracepoint,
    string area,
    string layer,
    Exception exception
)
public:
virtual void TraceException(
    int tracepoint, 
    String^ area, 
    String^ layer, 
    Exception^ exception
)
abstract TraceException : 
        tracepoint:int * 
        area:string * 
        layer:string * 
        exception:Exception -> unit  
override TraceException : 
        tracepoint:int * 
        area:string * 
        layer:string * 
        exception:Exception -> unit
public function TraceException(
    tracepoint : int, 
    area : String, 
    layer : String, 
    exception : Exception
)

Parameters

.NET Framework Security

See Also

Reference

TeamFoundationRequestContext Class

TraceException Overload

Microsoft.TeamFoundation.Framework.Server Namespace