共用方式為


TeamFoundationRequestContext.SetMethodName Method

Sets the current method but does not call enter method - this is meant to help diagnosing commands that fail before they get to EnterMethod. We do not expect the parameters to be set at this point.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Sub SetMethodName ( _
    methodInformation As MethodInformation _
)
public void SetMethodName(
    MethodInformation methodInformation
)
public:
void SetMethodName(
    MethodInformation^ methodInformation
)
member SetMethodName : 
        methodInformation:MethodInformation -> unit
public function SetMethodName(
    methodInformation : MethodInformation
)

Parameters

.NET Framework Security

See Also

Reference

TeamFoundationRequestContext Class

Microsoft.TeamFoundation.Framework.Server Namespace