Reference
OpcSubscription Members
Provides information about a client initiated subscription.
Reference
OpcSubscription Members
- Type
- OpcSubscription
- Namespace
- Opc.UaFx.Server
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
Properties
Diagnostics
Gets an instance of which provides diagnostic information about the operations performed and activities recognized on this OpcSubscription.
public OpcSubscriptionDiagnostics Diagnostics { get; }Public ReadOnly Property Diagnostics As OpcSubscriptionDiagnosticsProperty value
An instance of the OpcSubscriptionDiagnostics class with bunch of diagnostic information.
Id
Gets the unique identifier of the subscription.
public int Id { get; }Public ReadOnly Property Id As IntegerProperty value
The unique identifier of the subscription.
MonitoredItemsCount
Gets the total number of monitored items observed through this OpcSubscription.
public int MonitoredItemsCount { get; }Public ReadOnly Property MonitoredItemsCount As IntegerProperty value
The number of monitored items observed. The value also includes monitored items its monitoring may be disabled.
Priority
Gets the priority used for publishing data change and event notifications.
public int Priority { get; }Public ReadOnly Property Priority As IntegerProperty value
The priority of the subscription. The greater the number the earlier are pending notifications published to the client.
PublishingInterval
Gets a value indicating the interval used to publish recent data change and event notifications in milliseconds.
public double PublishingInterval { get; }Public ReadOnly Property PublishingInterval As DoubleProperty value
The milliseconds used as the interval used for publishing.
PublishingIsEnabled
Gets a value indicating whether the publishing of data change and event notifications is enabled for this subscription.
public bool PublishingIsEnabled { get; }Public ReadOnly Property PublishingIsEnabled As BooleanProperty value
The value true if notifications are pusblished to the client; otherwise the value false.
Session
Gets the session which owns this OpcSubscription.
public OpcSession Session { get; }Public ReadOnly Property Session As OpcSessionProperty value
An instance of the OpcSession class which owns this subscription.
Methods
Dispose
| Overload | Description |
|---|---|
| Dispose() | Releases all resources used by the OpcSubscription. |
| Dispose( | Releases the unmanaged resources used by the OpcSubscription and optionally releases the managed resources. |
Dispose()
Releases all resources used by the OpcSubscription.
public void Dispose()Public Sub Dispose()Implements
Dispose(bool)
Releases the unmanaged resources used by the OpcSubscription and optionally releases the managed resources.
protected virtual void Dispose(bool disposing)Protected Overridable Sub Dispose(disposing As Boolean)Parameters
| Name | Type | Description |
|---|---|---|
disposing | Boolean | The value true to release both managed and unmanaged resources; otherwise the value false to release only unmanaged resources. |
GetMonitoredItems
Provides a sequence of OpcMonitoredItem instances associated with this OpcSubscription.
public IEnumerable<OpcMonitoredItem> GetMonitoredItems()Public Function GetMonitoredItems() As IEnumerable(Of OpcMonitoredItem)Returns
An IEnumerable<T> of OpcMonitoredItem instances.

