Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- tracepoint
Type: System.Int32
- level
Type: System.Diagnostics.TraceLevel
- area
Type: System.String
- layer
Type: System.String
- exception
Type: System.Exception
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.