TeamFoundationTrace.Enter Method (TraceType, TraceLevel, String)
Start a nested trace block with the specified trace category, level, and message.
Namespace: Microsoft.TeamFoundation
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
‘선언
Public Shared Sub Enter ( _
traceCategory As TraceType, _
level As TraceLevel, _
info As String _
)
public static void Enter(
TraceType traceCategory,
TraceLevel level,
string info
)
public:
static void Enter(
TraceType traceCategory,
TraceLevel level,
String^ info
)
static member Enter :
traceCategory:TraceType *
level:TraceLevel *
info:string -> unit
public static function Enter(
traceCategory : TraceType,
level : TraceLevel,
info : String
)
Parameters
- traceCategory
Type: Microsoft.TeamFoundation.TraceType
The trace category of the message.
- level
Type: System.Diagnostics.TraceLevel
The trace level required to write the message.
- info
Type: System.String
The message to write.
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.