This documentation is archived and is not being maintained.

WebServiceStats Class

Contains several properties to describe a Web service.


Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

public class WebServiceStats

The WebServiceStats type exposes the following members.

Public methodWebServiceStatsInitializes a new WebServiceStats instance.

Public propertyAverageGets the average run time of the Web service.
Public propertyCountGets the number of times the Web service has executed.
Public propertyLastGets the last run time of the Web service.
Public propertyMaxTimeGets the maximum run time of the Web service.
Public propertyMinTimeGets the minimum time of the Web service.
Public propertyTotalTimeGets the total run time of the Web service.
Public propertyWebServiceGets the name of the Web service.

Public methodAddTimeAdds time to this WebServiceStats instance.
Public methodStatic memberDescendingSortHelper method to sort two WebServiceStats instances.
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Public eventAverageChangedOccurs when the Average property has changed.
Public eventCountChangedOccurs when the Count property has changed.
Public eventLastChangedOccurs when the Last property has changed.
Public eventMaxTimeChangedOccurs when the MaxTime property of the Web service has changed.
Public eventMinTimeChangedOccurs when the MinTime property of the Web service has changed.
Public eventTotalTimeChangedOccurs when the TotalTime property has changed.
Public eventWebServiceChangedOccurs when the Web service has changed.

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