Bagikan melalui


TeamFoundationTrace.Enter Method (TraceType, String)

Start a nested trace block with the specified trace category and message.

Namespace:  Microsoft.TeamFoundation
Assembly:  Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)

Syntax

'Declaration
Public Shared Sub Enter ( _
    traceCategory As TraceType, _
    info As String _
)
public static void Enter(
    TraceType traceCategory,
    string info
)
public:
static void Enter(
    TraceType traceCategory, 
    String^ info
)
static member Enter : 
        traceCategory:TraceType * 
        info:string -> unit 
public static function Enter(
    traceCategory : TraceType, 
    info : String
)

Parameters

Remarks

The block is completed using the Exit method.

.NET Framework Security

See Also

Reference

TeamFoundationTrace Class

Enter Overload

Microsoft.TeamFoundation Namespace