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.
Caution
Switch to the ChangeFeedProcessorBuilder for building the change feed processor and use new enum Microsoft.Azure.Documents.ChangeFeedProcessor.FeedProcessing.ChangeFeedObserverCloseReason.
The reason for the IChangeFeedObserver to close.
[System.Obsolete("Switch to the ChangeFeedProcessorBuilder for building the change feed processor and use new enum Microsoft.Azure.Documents.ChangeFeedProcessor.FeedProcessing.ChangeFeedObserverCloseReason.")]
public enum ChangeFeedObserverCloseReason
[<System.Obsolete("Switch to the ChangeFeedProcessorBuilder for building the change feed processor and use new enum Microsoft.Azure.Documents.ChangeFeedProcessor.FeedProcessing.ChangeFeedObserverCloseReason.")>]
type ChangeFeedObserverCloseReason =
Public Enum ChangeFeedObserverCloseReason
- Inheritance
-
ChangeFeedObserverCloseReason
- Attributes
Fields
LeaseGone | 5 | The lease is gone. This can be due to partition split. |
LeaseLost | 3 | Lease was lost due to expiration or load-balancing. |
ObserverError | 4 | IChangeFeedObserver threw an exception. |
ResourceGone | 2 | The resource, such as database or collection was removed. |
Shutdown | 1 | The ChangeFeedEventHost is shutting down. |
Unknown | 0 | Unknown failure. This should never be sent to observers. |
Applies to
Azure SDK for .NET
Visszajelzés
https://aka.ms/ContentUserFeedback.
Hamarosan elérhető: 2024-ben fokozatosan kivezetjük a GitHub-problémákat a tartalom visszajelzési mechanizmusaként, és lecseréljük egy új visszajelzési rendszerre. További információ:Visszajelzés küldése és megtekintése a következőhöz: