TeamFoundationHttpHandler.SetMethodName Method
Sets the method name (does NOT call EnterMethod.) This is meant to be called with the same instance of methodInformation, but without the parameters so that the method is correctly logged in the activity log rather than just its URL.
Namespace: Microsoft.TeamFoundation.Server.Core.WebServices
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
Protected Overridable Sub SetMethodName ( _
methodInformation As MethodInformation _
)
protected virtual void SetMethodName(
MethodInformation methodInformation
)
protected:
virtual void SetMethodName(
MethodInformation^ methodInformation
)
abstract SetMethodName :
methodInformation:MethodInformation -> unit
override SetMethodName :
methodInformation:MethodInformation -> unit
protected function SetMethodName(
methodInformation : MethodInformation
)
Parameters
- methodInformation
Type: Microsoft.TeamFoundation.Framework.Server.MethodInformation
.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.