Metodo TeamFoundationTracingService.TraceProvider.Trace
Spazio dei nomi: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Sintassi
'Dichiarazione
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
)
Parametri
- traceLevel
Tipo: System.Diagnostics.TraceLevel
- traceId
Tipo: System.Guid
- tracepoint
Tipo: System.Int32
- serviceHost
Tipo: System.Guid
- contextId
Tipo: System.Int64
- processName
Tipo: System.String
- username
Tipo: System.String
- service
Tipo: System.String
- method
Tipo: System.String
- area
Tipo: System.String
- layer
Tipo: System.String
- userAgent
Tipo: System.String
- uri
Tipo: System.String
- path
Tipo: System.String
- userDefined
Tipo: System.String
- message
Tipo: System.String
- args
Tipo: array<System.Object[]
Valore restituito
Tipo: System.Boolean
Restituisca il valore Boolean.
Sicurezza di .NET Framework
- Attendibilità totale per il chiamante immediato. Impossibile utilizzare questo membro in codice parzialmente attendibile. Per ulteriori informazioni, vedere Utilizzo di librerie da codice parzialmente attendibile.