ExpandSegment.MaxResultsExpected Property

Gets the maximum number of results expected.

Namespace:  System.Data.Services
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

public int MaxResultsExpected { get; }

Property Value

Type: System.Int32
The integer value that indicates maximum number of results.

To enable the data service to detect a failure to meet this constraint, expand providers should return no more than MaxResultsExpected + 1 elements.