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. 
- methodType 
 Type: Microsoft.TeamFoundation.Framework.Server.MethodType- The type of method being called. 
- estimatedCost 
 Type: Microsoft.TeamFoundation.Framework.Server.EstimatedMethodCost- The estimated cost of the method. 
Remarks
Given that other conditions are met, the method called will wake a dormant host and keep an active host awake.
.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.