Method information is used to describe an invocation of a web method Tracking parameters, timings, and other method details
Inheritance Hierarchy
System.Object
  Microsoft.TeamFoundation.Framework.Server.MethodInformation
Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public NotInheritable Class MethodInformation
public sealed class MethodInformation
public ref class MethodInformation sealed
[<Sealed>]
type MethodInformation =  class end
public final class MethodInformation
The MethodInformation type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | MethodInformation(String, MethodType, EstimatedMethodCost) | Creates a new MethodInformation describing the WebMethod, Page, Handler or Job being executed. | 
| .gif) | MethodInformation(String, MethodType, EstimatedMethodCost, Boolean) | Creates a new MethodInformation describing the WebMethod, Page, Handler or Job being executed. | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | EstimatedCost | The estimated cost is a definition of approximately how much processing time and resources will be used in the execution of this method. | 
| .gif) | MethodType | Returns the type of the method. | 
| .gif) | Name | This is the name of the method being executed. | 
| .gif) | Parameters | This is the set of parameters associated with this web method. This collection should not be modified. To update the collection use AddParameter and AddParameterArray. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | AddArrayParameter(String, IEnumerable) | |
| .gif) | AddArrayParameter<T>(String, IList<T>) | AddArrayParameter records the name of the array and a certain number of values from the array in addition to the overall count of values. | 
| .gif) | AddParameter | AddParameter adds a single name/value to the set of parameters that are used in the execution of the method. | 
| .gif) | AttachQuota | The method associate a counter with a quota. | 
| .gif) | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | 
| .gif) | GetHashCode | Serves as the default hash function. (Inherited from Object.) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | ToString | (Overrides Object.ToString().) | 
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.