This documentation is archived and is not being maintained.

MethodInformation Class

Method information is used to describe an invocation of a web method Tracking parameters, timings, and other method details

System::Object
  Microsoft.TeamFoundation.Framework.Server::MethodInformation

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

public ref class MethodInformation sealed

The MethodInformation type exposes the following members.

  NameDescription
Public methodMethodInformation(String, MethodType, EstimatedMethodCost)Creates a new MethodInformation describing the WebMethod, Page, Handler or Job being executed.
Public methodMethodInformation(String, MethodType, EstimatedMethodCost, Boolean)Creates a new MethodInformation describing the WebMethod, Page, Handler or Job being executed.
Top

  NameDescription
Public propertyEstimatedCostThe estimated cost is a definition of approximately how much processing time and resources will be used in the execution of this method.
Public propertyMethodTypeReturns the type of the method.
Public propertyNameThis is the name of the method being executed.
Public propertyParametersThis 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

  NameDescription
Public methodAddArrayParameter(String, IEnumerable)
Public methodAddArrayParameter<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 methodAddParameterAddParameter adds a single name/value to the set of parameters that are used in the execution of the method.
Public methodAttachQuotaThe method associate a counter with a quota.
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToString (Overrides Object::ToString().)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: