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
- traceCategory
Type: Microsoft.TeamFoundation.TraceType
- info
Type: System.String
Remarks
The block is completed using the Exit method.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.