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
Public method MethodInformation(String, MethodType, EstimatedMethodCost) Creates a new MethodInformation describing the WebMethod, Page, Handler or Job being executed.
Public method MethodInformation(String, MethodType, EstimatedMethodCost, Boolean) Creates a new MethodInformation describing the WebMethod, Page, Handler or Job being executed.

Top

Properties

Name Description
Public property EstimatedCost The estimated cost is a definition of approximately how much processing time and resources will be used in the execution of this method.
Public property MethodType Returns the type of the method.
Public property Name This is the name of the method being executed.
Public property 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
Public method AddArrayParameter(String, IEnumerable)
Public method 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.
Public method AddParameter AddParameter adds a single name/value to the set of parameters that are used in the execution of the method.
Public method AttachQuota
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method 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.

See Also

Reference

Microsoft.TeamFoundation.Framework.Server Namespace