共用方式為


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

.NET Framework Security

See Also

Reference

TeamFoundationWebService Class

Microsoft.TeamFoundation.Server.Core.WebServices Namespace