TeamFoundationTracingService.TraceProvider.Trace-Methode
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
)
Parameter
- traceLevel
Typ: System.Diagnostics.TraceLevel
- traceId
Typ: System.Guid
- tracepoint
Typ: System.Int32
- serviceHost
Typ: System.Guid
- contextId
Typ: System.Int64
- processName
Typ: System.String
- username
Typ: System.String
- service
Typ: System.String
- method
Typ: System.String
- area
Typ: System.String
- layer
Typ: System.String
- userAgent
Typ: System.String
- uri
Typ: System.String
- path
Typ: System.String
- userDefined
Typ: System.String
- message
Typ: System.String
- args
Typ: array<System.Object[]
Rückgabewert
Typ: System.Boolean
Gibt Boolean zurück.
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.