ChangeFeedObserverCloseReason Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The reason for the IChangeFeedObserver to close.
public enum ChangeFeedObserverCloseReason
type ChangeFeedObserverCloseReason =
Public Enum ChangeFeedObserverCloseReason
- Inheritance
-
ChangeFeedObserverCloseReason
Fields
Name | Value | Description |
---|---|---|
Unknown | 0 | Unknown failure. This should never be sent to observers. |
Shutdown | 1 | The ChangeFeedEventHost is shutting down. |
ResourceGone | 2 | The resource, such as database or collection was removed. |
LeaseLost | 3 | Lease was lost due to expiration or load-balancing. |
ObserverError | 4 | IChangeFeedObserver threw an exception. |
LeaseGone | 5 | The lease is gone. This can be due to partition split. |
ReadSessionNotAvailable | 6 | Indicates a "read session not available" warning related to Session. Note: SDK retries on this error. |