Method ConsumeQuery
ConsumeQuery()
Returns all remaining entries as a RouteQuery and transitions the collection to the Done state. No further members may be accessed after this call.
Declaration
public RouteQuery ConsumeQuery()
Returns
| Type | Description |
|---|---|
| RouteQuery |
Exceptions
| Type | Condition |
|---|---|
| InvalidOperationException | The collection is already in the Done state. |