This documentation is archived and is not being maintained.

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)

[ConditionalAttribute(L"DEBUG")]
public:
static void MethodEntry(
	int depth, 
	... array<Object^>^ parameters
)

Parameters

depth
Type: System::Int32

Indicates 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.

Show: