Enum RetryMode
When to retry a request For convenience, bit 0 indicates keeping duplicates, bit 1 indicates retrying on errors, bit 2 indicates retrying on fatal errors
Namespace: Cognite.Extensions
Assembly: Cognite.Extensions.dll
Syntax
public enum RetryMode
Fields
| Name | Description |
|---|---|
| None | Never retry, always stop after the first failure, multiple errors may still occur due to chunking. |
| OnError | Retry after a 4xx error that can be handled by cleaning the request |
| OnErrorKeepDuplicates | Retry after a 4xx error that can be handled by cleaning the request, but keep retrying for duplicates until they are returned when reading |
| OnFatal | Same as OnError, but keep retrying if a fatal error occurs |
| OnFatalKeepDuplicates | Same as OnErrorKeepDuplicates, but keep retrying if a fatal error occurs |