다음을 통해 공유


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

Return Value

Type: System.Boolean
Returns Boolean.

.NET Framework Security

See Also

Reference

TeamFoundationTracingService.TraceProvider Class

Microsoft.TeamFoundation.Framework.Server Namespace