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
- tracepoint
Type: System.Int32
- 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.