MethodInformation Class
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 | |
---|---|---|
MethodInformation(String, MethodType, EstimatedMethodCost) | Creates a new MethodInformation describing the WebMethod, Page, Handler or Job being executed. | |
MethodInformation(String, MethodType, EstimatedMethodCost, Boolean) | Creates a new MethodInformation describing the WebMethod, Page, Handler or Job being executed. |
Top
Properties
Name | Description | |
---|---|---|
EstimatedCost | The estimated cost is a definition of approximately how much processing time and resources will be used in the execution of this method. | |
MethodType | Returns the type of the method. | |
Name | This is the name of the method being executed. | |
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 | |
---|---|---|
AddArrayParameter(String, IEnumerable) | ||
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. | |
AddParameter | AddParameter adds a single name/value to the set of parameters that are used in the execution of the method. | |
AttachQuota | The method associate a counter with a quota. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
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.