Delen via


TeamFoundationSqlResourceComponent.TraceLeave Method

Trace exit from a method with a consistently formatted message and a time stamp.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Protected Overridable Sub TraceLeave ( _
    tracepoint As Integer, _
    methodName As String _
)
protected virtual void TraceLeave(
    int tracepoint,
    string methodName
)
protected:
virtual void TraceLeave(
    int tracepoint, 
    String^ methodName
)
abstract TraceLeave : 
        tracepoint:int * 
        methodName:string -> unit  
override TraceLeave : 
        tracepoint:int * 
        methodName:string -> unit
protected function TraceLeave(
    tracepoint : int, 
    methodName : String
)

Parameters

  • tracepoint
    Type: System.Int32

    A unique number from a range reserved in TraceDefinition that provides precise control over the trace level.

  • methodName
    Type: System.String

    The name of the method that was used in the trace message.

.NET Framework Security

See Also

Reference

TeamFoundationSqlResourceComponent Class

Microsoft.TeamFoundation.Framework.Server Namespace