This documentation is archived and is not being maintained.

WebServiceStats::DescendingSort Method

Helper method to sort two WebServiceStats instances.

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

public:
static int DescendingSort(
	WebServiceStats^ first, 
	WebServiceStats^ second
)

Parameters

first
Type: Microsoft.TeamFoundation.Client::WebServiceStats

The first WebServiceStats instance to sort.

second
Type: Microsoft.TeamFoundation.Client::WebServiceStats

The second WebServiceStats instnace to sort.

Return Value

Type: System::Int32
Returns -1 if first should be sorted before second.
Returns 1 if first should be sorted after second.

The two WebServiceStats instances are sorted by the TotalTime, Average, Count, and WebService names, in order of importance.

Show: