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.Int32A unique number from a range reserved in [TraceDefinition.cs] that provides precise control over the trace level.
methodName
Type: System.StringThe name of the method that was used in the trace message.
.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.