TeamFoundationTracingService.TraceProvider.Trace Method
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function Trace ( _
traceLevel As TraceLevel, _
traceId As Guid, _
tracepoint As Integer, _
serviceHost As Guid, _
contextId As Long, _
processName As String, _
username As String, _
service As String, _
method As String, _
area As String, _
layer As String, _
userAgent As String, _
uri As String, _
path As String, _
userDefined As String, _
message As String, _
ParamArray args As Object() _
) As Boolean
public bool Trace(
TraceLevel traceLevel,
Guid traceId,
int tracepoint,
Guid serviceHost,
long contextId,
string processName,
string username,
string service,
string method,
string area,
string layer,
string userAgent,
string uri,
string path,
string userDefined,
string message,
params Object[] args
)
public:
bool Trace(
TraceLevel traceLevel,
Guid traceId,
int tracepoint,
Guid serviceHost,
long long contextId,
String^ processName,
String^ username,
String^ service,
String^ method,
String^ area,
String^ layer,
String^ userAgent,
String^ uri,
String^ path,
String^ userDefined,
String^ message,
... array<Object^>^ args
)
member Trace :
traceLevel:TraceLevel *
traceId:Guid *
tracepoint:int *
serviceHost:Guid *
contextId:int64 *
processName:string *
username:string *
service:string *
method:string *
area:string *
layer:string *
userAgent:string *
uri:string *
path:string *
userDefined:string *
message:string *
args:Object[] -> bool
public function Trace(
traceLevel : TraceLevel,
traceId : Guid,
tracepoint : int,
serviceHost : Guid,
contextId : long,
processName : String,
username : String,
service : String,
method : String,
area : String,
layer : String,
userAgent : String,
uri : String,
path : String,
userDefined : String,
message : String,
... args : Object[]
) : boolean
Parameters
- traceLevel
Type: System.Diagnostics.TraceLevel
- traceId
Type: System.Guid
- tracepoint
Type: System.Int32
- serviceHost
Type: System.Guid
- contextId
Type: System.Int64
- processName
Type: System.String
- username
Type: System.String
- service
Type: System.String
- method
Type: System.String
- area
Type: System.String
- layer
Type: System.String
- userAgent
Type: System.String
- uri
Type: System.String
- path
Type: System.String
- userDefined
Type: System.String
- message
Type: System.String
- args
Type: array<System.Object[]
Return Value
Type: System.Boolean
Returns Boolean.
.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.