Subscription |
| Member name | Value | Description |
|---|---|---|
| Initialized | 0 | The subscription object has been initialized, but no SUBSCRIBE request has been sent yet. |
| Neutral | 1 | Until the first NOTIFY message arrives, the subscriber should consider the state of the subscribed resource to be in a neutral state. |
| Active | 2 | The subscription has been accepted and authorized. |
| BadEvent | 3 | The event-type is not supported. |
| Expired | 4 | The subscription has not been refreshed and it has been expired. |
| Terminated | 5 | The subscription is no longer active. |
| Pending | 6 | The subscription has been received, but that policy information is insufficient to accept or deny the subscription at this time. |
The SubscriptionState type exposes the following members.
| Name | Description | |
|---|---|---|
| AsString |
Returns the textual representation of the given subscription state.
(Defined by SubscriptionStateEx) | |
| IsActive |
Returns a boolean value indicating whether the subscription is in active state (neutral, active, etc.) and notifications can be received.
(Defined by SubscriptionStateEx) | |
| IsTerminated |
Returns a boolean value indicating whether the subscription is no longer active for some reason (terminated, expired, bad event, etc.)
(Defined by SubscriptionStateEx) |