API Reference
MultiResolverStrategy
Strategy for choosing among multiple resolver endpoints.
Inheritance
- Enum
- MultiResolverStrategy
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
Inherited Methods
public override sealed Int32 CompareTo(Object target) #Int32Parameters
- target Object
public override sealed String ToString(String format, IFormatProvider provider) #StringObsolete("The provider argument is not used. Use ToString(String) instead.")Parameters
- format String
Values
public const MultiResolverStrategy FirstSuccess #Race endpoints (bounded by MaxParallelism) and return the first successful response, cancelling the rest.
0public const MultiResolverStrategy FastestWins #Warm all endpoints and prefer the endpoint that produced the fastest successful response, caching that choice for a duration.
1public const MultiResolverStrategy SequentialAll #Try endpoints sequentially and return the first success or the best error if all fail.
2public const MultiResolverStrategy RoundRobin #Distribute queries across endpoints in round-robin fashion to balance load. The chosen endpoint handles the query; on failure, the resolver falls back to the first endpoint (or the second if the first was chosen). Combine with MaxParallelism to cap overall concurrency and PerEndpointMaxInFlight to limit per-endpoint concurrency.
3