Share via


WebServiceStats Class

Contains several properties to describe a Web service.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Client.WebServiceStats

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

Syntax

'Declaration
Public Class WebServiceStats
public class WebServiceStats
public ref class WebServiceStats
type WebServiceStats =  class end
public class WebServiceStats

The WebServiceStats type exposes the following members.

Constructors

  Name Description
Public method WebServiceStats Initializes a new WebServiceStats instance.

Top

Properties

  Name Description
Public property Average Gets the average run time of the Web service.
Public property Count Gets the number of times the Web service has executed.
Public property Last Gets the last run time of the Web service.
Public property MaxTime Gets the maximum run time of the Web service.
Public property MinTime Gets the minimum time of the Web service.
Public property TotalTime Gets the total run time of the Web service.
Public property WebService Gets the name of the Web service.

Top

Methods

  Name Description
Public method AddTime Adds time to this WebServiceStats instance.
Public methodStatic member DescendingSort Helper method to sort two WebServiceStats instances.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (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.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Events

  Name Description
Public event AverageChanged Occurs when the Average property has changed.
Public event CountChanged Occurs when the Count property has changed.
Public event LastChanged Occurs when the Last property has changed.
Public event MaxTimeChanged Occurs when the MaxTime property of the Web service has changed.
Public event MinTimeChanged Occurs when the MinTime property of the Web service has changed.
Public event TotalTimeChanged Occurs when the TotalTime property has changed.
Public event WebServiceChanged Occurs when the Web service has changed.

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.Client Namespace