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.
Push trace messages to the trace service associated with the request context.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Protected Overridable Sub Trace ( _
tracepoint As Integer, _
level As TraceLevel, _
tags As String(), _
format As String, _
ParamArray args As Object() _
)
protected virtual void Trace(
int tracepoint,
TraceLevel level,
string[] tags,
string format,
params Object[] args
)
protected:
virtual void Trace(
int tracepoint,
TraceLevel level,
array<String^>^ tags,
String^ format,
... array<Object^>^ args
)
abstract Trace :
tracepoint:int *
level:TraceLevel *
tags:string[] *
format:string *
args:Object[] -> unit
override Trace :
tracepoint:int *
level:TraceLevel *
tags:string[] *
format:string *
args:Object[] -> unit
protected function Trace(
tracepoint : int,
level : TraceLevel,
tags : String[],
format : String,
... args : Object[]
)
Parameters
tracepoint
Type: System.Int32A unique number from a range reserved in TraceDefinition.cs that provides precise control over the trace level.
level
Type: System.Diagnostics.TraceLevelCoarse grained control over the trace level.
tags
Type: array<System.String[]One or more tags associated with this trace event.
format
Type: System.StringA format string that is the trace message.
args
Type: array<System.Object[]Arguments for the format string.
.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.