Method GetAvailable
- Namespace
- MVVrus.AspNetCore.ActiveSession
- Assembly
- MVVrus.AspNetCore.ActiveSession.dll
GetAvailable(int, int, string?)
RunnerResult<TResult> GetAvailable(int Advance = 2147483647, int StartPosition = -1, string? TraceIdentifier = null)
Parameters
Advance
intDesired increment of the runner's Position, at which the fetch should stop. If the backgound process did not get so far, this method returns the result for the last Position reached. In general, the value of this param should be positive, zero ( DEFAULT_ADVANCE) value having a special meaning.
StartPosition
intPosition value from which a fetch of the result should begin. In general, value of this parameter should be non-negative (except for the special value below) and not less than value of the Position property. Use CURRENT_POSITION constant to continue to fetch result from the last position fetched.TraceIdentifier
string- String that can be used for tracing.
Returns
- RunnerResult<TResult>
Fields in the structure returned as a result contains values of the properties Status and Position at the point of completion in fields with the same names and a runner-specific result in a Result field, the field Result type being TResult).