This documentation is archived and is not being maintained.
SortField Constructor (WorkItemStore, String, SortType)
Visual Studio 2013
Initializes a new SortField instance.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Parameters
- store
- Type: Microsoft.TeamFoundation.WorkItemTracking.Client::WorkItemStore
The WorkItemStore that contains this field.
- name
- Type: System::String
The name of the FieldDefinition that defines this field.
- sortType
- Type: Microsoft.TeamFoundation.WorkItemTracking.Client::SortType
The direction by which this field will be sorted.
| Exception | Condition |
|---|---|
| ArgumentNullException | One or more of the parameters is null. |
| ArgumentException | The sortType parameter is not valid. |
| FieldDefinitionNotExistException | The name parameter does not resolve to an existing FieldDefinition. |
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Show: