Delen via


WebServiceStats.DescendingSort Method

Helper method to sort two WebServiceStats instances.

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

Syntax

'Declaration
Public Shared Function DescendingSort ( _
    first As WebServiceStats, _
    second As WebServiceStats _
) As Integer
public static int DescendingSort(
    WebServiceStats first,
    WebServiceStats second
)
public:
static int DescendingSort(
    WebServiceStats^ first, 
    WebServiceStats^ second
)
static member DescendingSort : 
        first:WebServiceStats * 
        second:WebServiceStats -> int
public static function DescendingSort(
    first : WebServiceStats, 
    second : WebServiceStats
) : int

Parameters

Return Value

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

Remarks

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

.NET Framework Security

See Also

Reference

WebServiceStats Class

Microsoft.TeamFoundation.Client Namespace