TeamFoundationTracingService.TraceProvider.Trace, méthode
Espace de noms : Microsoft.TeamFoundation.Framework.Server
Assembly : Microsoft.TeamFoundation.Framework.Server (dans Microsoft.TeamFoundation.Framework.Server.dll)
Syntaxe
'Déclaration
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
)
Paramètres
- 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[]
Valeur de retour
Type : System.Boolean
retourne Boolean ;
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, consultez Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.