Build 1.01.318.0

[This is preliminary documentation and is subject to change.]

The Subscription type exposes the following members.

Constructors

  NameDescription
Public methodSubscription()()()()
Creates a empty object.
Public methodSubscription(Subscription)
Initializes the subscription from a template.
Public methodSubscription(Subscription, Boolean)
Initializes the subscription from a template.

Methods

  NameDescription
Public methodAddItem
Adds an item to the subscription.
Public methodAddItems
Adds an item to the subscription.
Public methodApplyChanges
Applies any changes to the subscription items.
Public methodChangesCompleted
Sends a notification that the state of the subscription has changed.
Public methodConditionRefresh
Tells the server to refresh all conditions being monitored by the subscription.
Public methodCreate
Creates a subscription on the server.
Public methodCreateItems
Creates all items that have not already been created.
Public methodDelete
Deletes a subscription on the server.
Public methodDeleteItems
Deletes all items that have been marked for deletion.
Public methodDispose()()()()
Frees any unmanaged resources.
Protected methodDispose(Boolean)
An overrideable version of the Dispose.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
The finializer implementation.
(Overrides Object..::..Finalize()()()().)
Public methodFindItemByClientHandle
Returns the monitored item identified by the client handle.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodModify
Modifies a subscription on the server.
Public methodModifyItems
Modies all items that have been changed.
Public methodRemoveItem
Removes an item from the subscription.
Public methodRemoveItems
Removes an item from the subscription.
Public methodRepublish
Republishes the specified notification message.
Public methodResolveItemNodeIds
Resolves all relative paths to nodes on the server.
Public methodSaveMessageInCache
Adds the notification message to internal cache.
Public methodSetMonitoringMode
Deletes all items that have been marked for deletion.
Public methodSetPublishingMode
Changes the publishing enabled state for the subscription.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyAvailableSequenceNumbers
The sequence numbers that are available for republish requests.
Public propertyChangesPending
Returns true if the subscription has changes that need to be applied.
Public propertyCreated
Whether the subscription has been created on the server.
Public propertyCurrentKeepAliveCount
The current keep alive count.
Public propertyCurrentLifetimeCount
The current lifetime count.
Public propertyCurrentPriority
The priority assigned to subscription when it was created.
Public propertyCurrentPublishingEnabled
Whether publishing is currently enabled.
Public propertyCurrentPublishingInterval
The current publishing interval.
Public propertyDefaultItem
The default monitored item.
Public propertyDisableMonitoredItemCache
Gets or sets a value indicating whether the notifications are cached within the monitored items.
Public propertyDisplayName
A display name for the subscription.
Public propertyFastDataChangeCallback
Gets or sets the fast data change callback.
Public propertyFastEventCallback
Gets or sets the fast event callback.
Public propertyHandle
A local handle assigned to the subscription
Public propertyId
The unique identifier assigned by the server.
Public propertyKeepAliveCount
The keep alive count.
Public propertyLastNotification
The last notification received from the server.
Public propertyLifetimeCount
The maximum number of notifications per publish request.
Public propertyMaxMessageCount
The maximum number of messages to keep in the internal cache.
Public propertyMaxNotificationsPerPublish
The maximum number of notifications per publish request.
Public propertyMinLifetimeInterval
The minimum lifetime for subscriptions in milliseconds.
Public propertyMonitoredItemCount
Returns the number of monitored items.
Public propertyMonitoredItems
The items to monitor.
Public propertyNotificationCount
The number of notifications contained in the last notification message.
Public propertyNotifications
The cached notifications.
Public propertyPriority
The priority assigned to subscription.
Public propertyPublishingEnabled
Whether publishing is enabled.
Public propertyPublishingInterval
The publishing interval.
Public propertyPublishingStopped
Returns true if the subscription is not receiving publishes.
Public propertyPublishTime
The when that the last notification received was published.
Public propertySequenceNumber
The sequence number assigned to the last notification message.
Public propertySession
The session that owns the subscription item.
Public propertyTimestampsToReturn
The timestamps to return with the notification messages.

Events

  NameDescription
Public eventPublishStatusChanged
Raised to indicate the publishing state for the subscription has stopped or resumed (see PublishingStopped property).
Public eventStateChanged
Raised to indicate that the state of the subscription has changed.

See Also