TeamFoundationTrace.MethodEntry Method (Int32, array<Object )
Trace entry into a method. This includes the method’s signature.
Namespace: Microsoft.TeamFoundation
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
'Declaration
<ConditionalAttribute("DEBUG")> _
Public Shared Sub MethodEntry ( _
depth As Integer, _
ParamArray parameters As Object() _
)
[ConditionalAttribute("DEBUG")]
public static void MethodEntry(
int depth,
params Object[] parameters
)
[ConditionalAttribute(L"DEBUG")]
public:
static void MethodEntry(
int depth,
... array<Object^>^ parameters
)
[<ConditionalAttribute("DEBUG")>]
static member MethodEntry :
depth:int *
parameters:Object[] -> unit
public static function MethodEntry(
depth : int,
... parameters : Object[]
)
depth
Type: System.Int32Indicates how many frames up the stack the method signature of interest is.
parameters
Type: array<System.Object[]The parameters if any associated with the method.
The API traceswitch setting determines whether any trace output appears. This method is only available in DEBUG builds.
The 'depth' parameter is useful when a utility function is invoking this function and the actual method of interest is "above" the utility function.
- 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.