TeamFoundationRequestContext.EnterMethod Method
EnterMethod is called at the start of execution of a WebMethod, HttpHandler or background job.
EnterMethod should be called on the thread that is executing the request.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Overridable Sub EnterMethod ( _
methodInformation As MethodInformation _
)
public virtual void EnterMethod(
MethodInformation methodInformation
)
public:
virtual void EnterMethod(
MethodInformation^ methodInformation
)
abstract EnterMethod :
methodInformation:MethodInformation -> unit
override EnterMethod :
methodInformation:MethodInformation -> unit
public function EnterMethod(
methodInformation : MethodInformation
)
Parameters
methodInformation
Type: Microsoft.TeamFoundation.Framework.Server.MethodInformationThe information that describes the method starting.
.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.