TeamFoundationRequestContext.Trace Method (Int32, TraceLevel, String, array<Object )
This form of [Trace] should generally be avoided because the omission of area and level means that these types of trace messages are not blocked by common trace filters.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Overridable Sub Trace ( _
tracepoint As Integer, _
level As TraceLevel, _
format As String, _
ParamArray args As Object() _
)
public virtual void Trace(
int tracepoint,
TraceLevel level,
string format,
params Object[] args
)
public:
virtual void Trace(
int tracepoint,
TraceLevel level,
String^ format,
... array<Object^>^ args
)
abstract Trace :
tracepoint:int *
level:TraceLevel *
format:string *
args:Object[] -> unit
override Trace :
tracepoint:int *
level:TraceLevel *
format:string *
args:Object[] -> unit
public function Trace(
tracepoint : int,
level : TraceLevel,
format : String,
... args : Object[]
)
Parameters
- tracepoint
Type: System.Int32
- level
Type: System.Diagnostics.TraceLevel
- format
Type: System.String
- args
Type: array<System.Object[]
.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.