MethodInformation Constructor (String, MethodType, EstimatedMethodCost)

Creates a new MethodInformation describing the WebMethod, Page, Handler or Job being executed.

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

Syntax

'Declaration
Public Sub New ( _
    webMethodName As String, _
    methodType As MethodType, _
    estimatedCost As EstimatedMethodCost _
)
public MethodInformation(
    string webMethodName,
    MethodType methodType,
    EstimatedMethodCost estimatedCost
)
public:
MethodInformation(
    String^ webMethodName, 
    MethodType methodType, 
    EstimatedMethodCost estimatedCost
)
new : 
        webMethodName:string * 
        methodType:MethodType * 
        estimatedCost:EstimatedMethodCost -> MethodInformation
public function MethodInformation(
    webMethodName : String, 
    methodType : MethodType, 
    estimatedCost : EstimatedMethodCost
)

Parameters

  • webMethodName
    Type: System.String

    The name of the method, page, handler or job.

Remarks

Given that other conditions are met, the method called will wake a dormant host and keep an active host awake.

.NET Framework Security

See Also

Reference

MethodInformation Class

MethodInformation Overload

Microsoft.TeamFoundation.Framework.Server Namespace