Skip to content

Reference

OpcSubscription Members

Provides mechanisms to monitor a set of attributes (= node data) and (node-related) events using notifications being reported from the server to the client.

Reference

OpcSubscription Members ​

Type
OpcSubscription
Namespace
Opc.UaFx.Client
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Also in
Opc.UaFx.Client

Properties ​

Client ​

since v2.15

Gets the OpcClient used to setup this OpcSubscription.

csharp
public OpcClient Client { get; }
vbnet
Public ReadOnly Property Client As OpcClient

Property value

OpcClient

An instance of the OpcClient class used to setup this OpcSubscription.

CurrentKeepAliveCount ​

Gets the actual keep-alive count used by the server for this OpcSubscription which has been negotiated by the server against the KeepAliveCount requested to meet its own constraints.

csharp
public long CurrentKeepAliveCount { get; }
vbnet
Public ReadOnly Property CurrentKeepAliveCount As Long

Property value

Int64

The negoiated and actual KeepAliveCount used.

Remarks

The server negotiates the value up or down to meet its own constraints.

CurrentLifetimeCount ​

Gets the actual lifetime count used by the server for this OpcSubscription which has been negotiated by the server against the LifetimeCount requested to meet its own constraints.

csharp
public long CurrentLifetimeCount { get; }
vbnet
Public ReadOnly Property CurrentLifetimeCount As Long

Property value

Int64

The negoiated and actual LifetimeCount used.

Remarks

The server negotiates the value up or down to meet its own constraints.

CurrentPriority ​

Gets the actual relative priority of the subscription used to priorize notifications being send then more than one subscription is to be notified.

csharp
public int CurrentPriority { get; }
vbnet
Public ReadOnly Property CurrentPriority As Integer

Property value

Int32

The actual Priority used.

Remarks

For more details see Priority.

CurrentPublishingInterval ​

Gets the actual publishing interval used by the server for this OpcSubscription which has been negotiated by the server against the PublishingInterval requested to meet its own constraints.

csharp
public double CurrentPublishingInterval { get; }
vbnet
Public ReadOnly Property CurrentPublishingInterval As Double

Property value

Double

The negoiated and actual PublishingInterval used.

Remarks

The server negotiates the value up or down to meet its own constraints.

CurrentPublishingIsEnabled ​

Gets the actual value indicating whether publishing is enabled by the server for this OpcSubscription which has been created and validated by the server against its own constraints.

csharp
public bool CurrentPublishingIsEnabled { get; }
vbnet
Public ReadOnly Property CurrentPublishingIsEnabled As Boolean

Property value

Boolean

The value true if the server has enabled publishing for this OpcSubscription; otherwise the value false.

DisplayName ​

Gets or sets the name of the OpcSubscription used just for display purpose in the client application.

csharp
public string DisplayName { get; set; }
vbnet
Public Property DisplayName As String

Property value

String

The name of the OpcSubscription used just for display purpose in the client application.

HasPendingChanges ​

Gets a value indicating whether there exists any pending change on the subscription which needs to be applied to take effect (ApplyChanges).

csharp
public bool HasPendingChanges { get; }
vbnet
Public ReadOnly Property HasPendingChanges As Boolean

Property value

Boolean

The value true if there is at least one change not yet applied; otherwise the value false.

Id ​

Gets the server-assigned unique identifier for this OpcSubscription.

csharp
public long Id { get; }
vbnet
Public ReadOnly Property Id As Long

Property value

Int64

The server-assigned unique identifier for this OpcSubscription.

Remarks

The identifier shall be unique for the entire server, not just for the Session, in order to allow the OpcSubscription to be transferred to another session.

IsCreated ​

Gets a value indicating whether this OpcSubscription has been created on the server.

csharp
public bool IsCreated { get; }
vbnet
Public ReadOnly Property IsCreated As Boolean

Property value

Boolean

The value true if the OpcSubscription has been created on the server; otherwise the value false.

Remarks

When the client reconnects with a new session, it creates its subscriptions again. A subscription the server rejects then is not created, while the client is connected again with the others; it is created again with the next new session.

IsPublishing ​

Gets a value indicating whether this OpcSubscription is receiving notifications.

csharp
public bool IsPublishing { get; }
vbnet
Public ReadOnly Property IsPublishing As Boolean

Property value

Boolean

The value true if the OpcSubscription is receiving notifications; otherwise the value false.

KeepAliveCount ​

Gets or sets a value which defines the requested number of times the publishing timer have to expire without any notification being sent before the server have to send a keep-alive message to the client.

csharp
public long KeepAliveCount { get; set; }
vbnet
Public Property KeepAliveCount As Long

Property value

Int64

A value of zero indicates that the server have to revise the smallest supported keep-alive count. The default value of this property is 10.

The value of this property configures the keep-alive counter that counts the number of consecutive publishing cycles in which there have been no notifications to report to the client. When the maximum keep-alive count is reached, a publish request is de-queued and used to return a keep-alive message. This keep-alive message informs the client that the subscription is still active. The maximum keep-alive count may be subsequently modified. If there are no publish requests queued, the server waits for the next one to be received and sends the keep-alive immediately without waiting for the next publishing cycle.

The value of the underlying property is an uint which is covered using a long to assure CLS compliance. In fact this restricts the value range of this property to MinValue and MaxValue.

Remarks

The server needs to be notified about changes to this property to take effect. To do so use the ApplyChanges method.

LastNotification ​

Gets the last notification received from the server.

csharp
public OpcNotification LastNotification { get; }
vbnet
Public ReadOnly Property LastNotification As OpcNotification

Property value

OpcNotification

An instance of the OpcNotification class which represents the last notfication received from the server or a null reference (Nothing in Visual Basic) if the OpcSubscription has not yet received a notification from the server or MaxMessageCount is less or equals zero.

LastNotificationTime ​

Gets the time the last notification which has been received from the server.

csharp
public DateTime? LastNotificationTime { get; }
vbnet
Public ReadOnly Property LastNotificationTime As Date?

Property value

Nullable<DateTime>

A DateTime identifying the instant of time the last notification which has been received from the server or a null reference (Nothing in Visual Basic) if the OpcSubscription has not yet received a notification from the server.

LifetimeCount ​

Gets or sets a value which defines the requested number of times the publishing timer have to expire without any publish request before the server have to delete this OpcSubscription.

csharp
public long LifetimeCount { get; set; }
vbnet
Public Property LifetimeCount As Long

Property value

Int64

The number of times the publishing timer have to expire without any publish request. A recommended value is at least a minimum of three times of the KeepAliveCount. The default value of this property is 100.

Remarks

The value of the underlying property is an uint which is covered using a long to assure CLS compliance. In fact this restricts the value range of this property to MinValue and MaxValue.

The server needs to be notified about changes to this property to take effect. To do so use the ApplyChanges method.

MaxMessageCount ​

Gets or sets the maximum number of notifications to keep in the cache.

csharp
public int MaxMessageCount { get; set; }
vbnet
Public Property MaxMessageCount As Integer

Property value

Int32

The maximum number of notification to keep in the cache. The default value of this property is 10.

MaxNotificationsPerPublish ​

Gets or sets a value which defines the maximum number of notifications that the client wants to receive in a single publish response.

csharp
public long MaxNotificationsPerPublish { get; set; }
vbnet
Public Property MaxNotificationsPerPublish As Long

Property value

Int64

The maximum number of notifications that the client wants to receive in a single publish response. The number of notifications per publish is the sum of MonitoredItems in a data change related notification and the number of events in an event notification. The default value of this property is 1000.

Remarks

A value of zero indicates that there is no limit.

The value of the underlying property is an uint which is covered using a long to assure CLS compliance. In fact this restricts the value range of this property to MinValue and MaxValue.

MinLifetimeInterval ​

Gets or sets a value which defines the minimum lifetime interval to apply in respect of the PublishingInterval and the LifetimeCount configured.

csharp
public long MinLifetimeInterval { get; set; }
vbnet
Public Property MinLifetimeInterval As Long

Property value

Int64

The interval which should be a multiple of the PublishingInterval to assure that the LifetimeCount requested is sensible enough to get covered within the PublishingInterval.

MonitoredItems ​

Gets a read-only collection of OpcMonitoredItem instances associated with this OpcSubscription.

csharp
public OpcMonitoredItemReadOnlyCollection MonitoredItems { get; }
vbnet
Public ReadOnly Property MonitoredItems As OpcMonitoredItemReadOnlyCollection

Property value

OpcMonitoredItemReadOnlyCollection

An instance of the OpcMonitoredItemReadOnlyCollection class.

Remarks

Use the monitored item related methods of this OpcSubscription to manipulate the items contained in the collection offered by this property.

Notifications ​

Gets a sequence of OpcNotification instances received from the server.

csharp
public IEnumerable<OpcNotification> Notifications { get; }
vbnet
Public ReadOnly Property Notifications As IEnumerable(Of OpcNotification)

Property value

IEnumerable<OpcNotification>

A sequence of OpcNotification instances representing the notifications received from the server. The sequence is empty if the OpcSubscription has not yet received a notification from the server.

Remarks

The number of instances in the sequence is limited to the maximum number of messages in the cache (see MaxMessageCount).

Priority ​

Gets or sets a value which defines the relative priority of the subscription used to priorize notifications being send then more than one subscription is to be notified.

csharp
public int Priority { get; set; }
vbnet
Public Property Priority As Integer

Property value

Int32

The relative priority of the subscription to notify.

Remarks

In case of subscriptions with equal priority the server shall send the notifications in a round-robin fashion. A client that does not require special priority settings should set this value to zero.

The value of the underlying property is a byte which is covered using an int to assure an even API level. In fact this restricts the value range of this property to MinValue and MaxValue.

The server needs to be notified about changes to this property to take effect. To do so use the ApplyChanges method.

PublishingInterval ​

Gets or sets the requested number of milliseconds of the interval within the server have to send cyclic notifications to the client.

csharp
public int PublishingInterval { get; set; }
vbnet
Public Property PublishingInterval As Integer

Property value

Int32

The interval within the server have to send cyclic notifications to the client. A value of zero or negative indicates that the server have to revise the fastest supported publishing interval.

Remarks

The publishing interval of a subscription defines the cyclic rate at which the subscription executes. Each time it executes, it attempts to send a message to the client. Messages contain notifications that have not yet been reported to client.

The negotiated value of this property is used as the default sampling interval for the MonitoredItems assigned to this OpcSubscription.

The server needs to be notified about changes to this property to take effect. To do so use the ApplyChanges method.

PublishingIsEnabled ​

Gets or sets a value indicating whether publishing is enabled for this OpcSubscription.

csharp
public bool PublishingIsEnabled { get; set; }
vbnet
Public Property PublishingIsEnabled As Boolean

Property value

Boolean

The value true if publishing is enabled for this OpcSubscription; otherwise the value false. The default value of this property is true.

Remarks

The value of this property does not affect the value of the monitoring mode property of the MonitoredItems.

The server needs to be notified about changes to this property to take effect. To do so use the ApplyChanges method.

PublishTime ​

Gets the time the last notification was published from the server.

csharp
public DateTime? PublishTime { get; }
vbnet
Public ReadOnly Property PublishTime As Date?

Property value

Nullable<DateTime>

A DateTime identifying the instant of time the last notification has been published from the server or a null reference (Nothing in Visual Basic) if the OpcSubscription has not yet received a notification from the server or MaxMessageCount is less or equals zero.

ReceivedDataChangeCallback ​

Gets or sets the callback used to process data changes of the monitored items associated with this OpcSubscription.

csharp
public OpcDataChangeReceivedCallback ReceivedDataChangeCallback { get; set; }
vbnet
Public Property ReceivedDataChangeCallback As OpcDataChangeReceivedCallback

Property value

OpcDataChangeReceivedCallback

A OpcDataChangeReceivedCallback used to process data change items. The value can also be a null reference (Nothing in Visual Basic).

Remarks

Use this property to directly handle all data change items without to rely on the chain of registered event handlers.

ReceivedEventCallback ​

Gets or sets the callback used to process events of the monitored items associated with this OpcSubscription.

csharp
public OpcEventReceivedCallback ReceivedEventCallback { get; set; }
vbnet
Public Property ReceivedEventCallback As OpcEventReceivedCallback

Property value

OpcEventReceivedCallback

A OpcDataChangeReceivedCallback used to process event items. The value can also be a null reference (Nothing in Visual Basic).

Remarks

Use this property to directly handle all event items without to rely on the chain of registered event handlers.

SequenceNumber ​

Gets the sequence number of the last notification which has been received from the server.

csharp
public long? SequenceNumber { get; }
vbnet
Public ReadOnly Property SequenceNumber As Long?

Property value

Nullable<Int64>

The SequenceNumber of the last notification which has been received from the server or a null reference (Nothing in Visual Basic) if the OpcSubscription has not yet received a notification from the server.

Tag ​

Gets or sets the object that contains additional user data about the subscription.

csharp
public object Tag { get; set; }
vbnet
Public Property Tag As Object

Property value

Object

An object that contains additional user data about the subscription. The default is null (Nothing in Visual Basic).

TimestampsToReturn ​

Gets or sets the timestamps the server shall transmit for each monitored item.

csharp
public OpcTimestampsToReturn TimestampsToReturn { get; set; }
vbnet
Public Property TimestampsToReturn As OpcTimestampsToReturn

Property value

OpcTimestampsToReturn

One of the members defined by the OpcTimestampsToReturn enumeration. The default value of this property is Both.

Remarks

The "timestamps to return" criteria is only applied to OpcValue instances. This means that in case of monitoring events only event fields of the type OpcValue are effected by the value of this property.

The server needs to be notified about changes to this property to take effect. To do so use the ApplyChanges method.

UseMonitoredItemDataCache ​

Gets or sets a value indicating whether this OpcSubscription shall forward notifications received from the server to monitored item individual caches. This enables the monitored items to process the data changes and event fields on their own.

csharp
public bool UseMonitoredItemDataCache { get; set; }
vbnet
Public Property UseMonitoredItemDataCache As Boolean

Property value

Boolean

The value true if the OpcMonitoredItem instances associated with this OpcSubscription receive their own item-related notification and can process the notification data on their own; otherwise the value false. The default value of this property is true.

Methods ​

AddMonitoredItem ​

15 overloads

OverloadDescription
AddMonitoredItem(OpcMonitoredItem)Adds the monitored item specified by item to this OpcSubscription.
AddMonitoredItem(OpcNodeId)since v2.7Adds a new monitored item which subscribes to changes on the Value attribute of the node specified by nodeId.
AddMonitoredItem(OpcNodeId, OpcDataChangeReceivedEventHandler)since v2.7Adds a new monitored item which subscribes to changes on the Value attribute of the node specified by nodeId.
AddMonitoredItem(OpcNodeId, OpcEventReceivedEventHandler)since v2.7Adds a new monitored item which subscribes to events on the EventNotifier attribute of the node specified by nodeId.
AddMonitoredItem(OpcNodeId, OpcAttribute)since v2.7Adds a new monitored item which subscribes to the attribute of the node specified by nodeId.
AddMonitoredItem(OpcNodeId, OpcAttribute, OpcDataChangeReceivedEventHandler)since v2.7Adds a new monitored item which subscribes to the attribute of the node specified by nodeId.
AddMonitoredItem(OpcNodeId, OpcAttribute, OpcEventReceivedEventHandler)since v2.7Adds a new monitored item which subscribes to the attribute of the node specified by nodeId.
AddMonitoredItem(OpcNodeId, OpcMonitoringFilter)since v2.7Adds a new monitored item which subscribes to changes on the Value attribute of the node specified by nodeId using the further configured filter.
AddMonitoredItem(OpcNodeId, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler)since v2.7Adds a new monitored item which subscribes to changes on the Value attribute of the node specified by nodeId using the further configured filter.
AddMonitoredItem(OpcNodeId, OpcEventFilter, OpcEventReceivedEventHandler)since v2.7Adds a new monitored item which subscribes to changes on the EventNotifier attribute of the node specified by nodeId using the further configured filter.
AddMonitoredItem(OpcNodeId, OpcAttribute, OpcMonitoringFilter)since v2.7Adds a new monitored item which subscribes to the attribute of the node specified by nodeId using the further configured filter.
AddMonitoredItem(OpcNodeId, OpcAttribute, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler)since v2.7Adds a new monitored item which subscribes to the attribute of the node specified by nodeId using the further configured filter.
AddMonitoredItem(OpcNodeId, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)since v2.7Adds a new monitored item which subscribes to the attribute of the node specified by nodeId using the further configured filter.
AddMonitoredItem(IEnumerable<OpcMonitoredItem>)Adds the monitored items specified by items to this OpcSubscription.
AddMonitoredItem(params OpcMonitoredItem[])Adds the monitored items specified by items to this OpcSubscription.

AddMonitoredItem(OpcMonitoredItem) ​

Adds the monitored item specified by item to this OpcSubscription.

csharp
public void AddMonitoredItem(OpcMonitoredItem item)
vbnet
Public Sub AddMonitoredItem(item As OpcMonitoredItem)

Parameters

NameTypeDescription
itemOpcMonitoredItemThe OpcMonitoredItem to add.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe item is a null reference (Nothing in Visual Basic).

AddMonitoredItem(OpcNodeId) ​

since v2.7

Adds a new monitored item which subscribes to changes on the Value attribute of the node specified by nodeId.

csharp
public OpcMonitoredItem AddMonitoredItem(OpcNodeId nodeId)
vbnet
Public Function AddMonitoredItem(nodeId As OpcNodeId) As OpcMonitoredItem

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe OpcNodeId of the node its Value attribute is to be monitored.

Returns

OpcMonitoredItem

A new instance of the OpcMonitoredItem class setup with the information specified. The monitored item will then monitor the node identified by the values passed to this method.

Exceptions

ExceptionCondition
ArgumentExceptionThe nodeId is empty.
ArgumentNullExceptionThe nodeId is a null reference (Nothing in Visual Basic).

Remarks

The server needs to be notified about the new monitored item to take effect. To do so use the ApplyChanges method.

AddMonitoredItem(OpcNodeId, OpcDataChangeReceivedEventHandler) ​

since v2.7

Adds a new monitored item which subscribes to changes on the Value attribute of the node specified by nodeId.

csharp
public OpcMonitoredItem AddMonitoredItem(
    OpcNodeId nodeId,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function AddMonitoredItem(
    nodeId As OpcNodeId,
    received As OpcDataChangeReceivedEventHandler) As OpcMonitoredItem

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe OpcNodeId of the node its Value attribute is to be monitored.
receivedOpcDataChangeReceivedEventHandlerThe OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

Returns

OpcMonitoredItem

A new instance of the OpcMonitoredItem class setup with the information specified. The monitored item will then monitor the node identified by the values passed to this method.

Exceptions

ExceptionCondition
ArgumentExceptionThe nodeId is empty.
ArgumentNullExceptionThe nodeId is a null reference (Nothing in Visual Basic).

Remarks

The server needs to be notified about the new monitored item to take effect. To do so use the ApplyChanges method.

AddMonitoredItem(OpcNodeId, OpcEventReceivedEventHandler) ​

since v2.7

Adds a new monitored item which subscribes to events on the EventNotifier attribute of the node specified by nodeId.

csharp
public OpcMonitoredItem AddMonitoredItem(
    OpcNodeId nodeId,
    OpcEventReceivedEventHandler received)
vbnet
Public Function AddMonitoredItem(
    nodeId As OpcNodeId,
    received As OpcEventReceivedEventHandler) As OpcMonitoredItem

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe OpcNodeId of the node its EventNotifier attribute is to be monitored.
receivedOpcEventReceivedEventHandlerThe OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

Returns

OpcMonitoredItem

A new instance of the OpcMonitoredItem class setup with the information specified. The monitored item will then monitor the node identified by the values passed to this method.

Exceptions

ExceptionCondition
ArgumentExceptionThe nodeId is empty.
ArgumentNullExceptionThe nodeId is a null reference (Nothing in Visual Basic).

Remarks

The server needs to be notified about the new monitored item to take effect. To do so use the ApplyChanges method.

AddMonitoredItem(OpcNodeId, OpcAttribute) ​

since v2.7

Adds a new monitored item which subscribes to the attribute of the node specified by nodeId.

csharp
public OpcMonitoredItem AddMonitoredItem(
    OpcNodeId nodeId,
    OpcAttribute attribute)
vbnet
Public Function AddMonitoredItem(
    nodeId As OpcNodeId,
    attribute As OpcAttribute) As OpcMonitoredItem

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe OpcNodeId of the node its attribute is to be monitored.
attributeOpcAttributeThe OpcAttribute to monitor.

Returns

OpcMonitoredItem

A new instance of the OpcMonitoredItem class setup with the information specified. The monitored item will then monitor the node identified by the values passed to this method.

Exceptions

ExceptionCondition
ArgumentExceptionThe nodeId is empty.
ArgumentNullExceptionThe nodeId is a null reference (Nothing in Visual Basic).

Remarks

The server needs to be notified about the new monitored item to take effect. To do so use the ApplyChanges method.

AddMonitoredItem(OpcNodeId, OpcAttribute, OpcDataChangeReceivedEventHandler) ​

since v2.7

Adds a new monitored item which subscribes to the attribute of the node specified by nodeId.

csharp
public OpcMonitoredItem AddMonitoredItem(
    OpcNodeId nodeId,
    OpcAttribute attribute,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function AddMonitoredItem(
    nodeId As OpcNodeId,
    attribute As OpcAttribute,
    received As OpcDataChangeReceivedEventHandler) As OpcMonitoredItem

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe OpcNodeId of the node its attribute is to be monitored.
attributeOpcAttributeThe OpcAttribute to monitor.
receivedOpcDataChangeReceivedEventHandlerThe OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

Returns

OpcMonitoredItem

A new instance of the OpcMonitoredItem class setup with the information specified. The monitored item will then monitor the node identified by the values passed to this method.

Exceptions

ExceptionCondition
ArgumentExceptionThe nodeId is empty.
ArgumentNullExceptionThe nodeId is a null reference (Nothing in Visual Basic).

Remarks

The server needs to be notified about the new monitored item to take effect. To do so use the ApplyChanges method.

AddMonitoredItem(OpcNodeId, OpcAttribute, OpcEventReceivedEventHandler) ​

since v2.7

Adds a new monitored item which subscribes to the attribute of the node specified by nodeId.

csharp
public OpcMonitoredItem AddMonitoredItem(
    OpcNodeId nodeId,
    OpcAttribute attribute,
    OpcEventReceivedEventHandler received)
vbnet
Public Function AddMonitoredItem(
    nodeId As OpcNodeId,
    attribute As OpcAttribute,
    received As OpcEventReceivedEventHandler) As OpcMonitoredItem

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe OpcNodeId of the node its attribute is to be monitored.
attributeOpcAttributeThe OpcAttribute to monitor.
receivedOpcEventReceivedEventHandlerThe OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

Returns

OpcMonitoredItem

A new instance of the OpcMonitoredItem class setup with the information specified. The monitored item will then monitor the node identified by the values passed to this method.

Exceptions

ExceptionCondition
ArgumentExceptionThe nodeId is empty.
ArgumentNullExceptionThe nodeId is a null reference (Nothing in Visual Basic).

Remarks

The server needs to be notified about the new monitored item to take effect. To do so use the ApplyChanges method.

AddMonitoredItem(OpcNodeId, OpcMonitoringFilter) ​

since v2.7

Adds a new monitored item which subscribes to changes on the Value attribute of the node specified by nodeId using the further configured filter.

csharp
public OpcMonitoredItem AddMonitoredItem(
    OpcNodeId nodeId,
    OpcMonitoringFilter filter)
vbnet
Public Function AddMonitoredItem(
    nodeId As OpcNodeId,
    filter As OpcMonitoringFilter) As OpcMonitoredItem

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe OpcNodeId of the node its Value attribute is to be monitored.
filterOpcMonitoringFilterThe OpcMonitoringFilter (either a OpcDataChangeFilter or a OpcEventFilter) to use to apply different conditions while monitoring the attribute.

Returns

OpcMonitoredItem

A new instance of the OpcMonitoredItem class setup with the information specified. The monitored item will then monitor the node identified by the values passed to this method.

Exceptions

ExceptionCondition
ArgumentExceptionThe nodeId is empty.
ArgumentNullExceptionThe nodeId is a null reference (Nothing in Visual Basic).

Remarks

The server needs to be notified about the new monitored item to take effect. To do so use the ApplyChanges method.

AddMonitoredItem(OpcNodeId, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler) ​

since v2.7

Adds a new monitored item which subscribes to changes on the Value attribute of the node specified by nodeId using the further configured filter.

csharp
public OpcMonitoredItem AddMonitoredItem(
    OpcNodeId nodeId,
    OpcDataChangeFilter filter,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function AddMonitoredItem(
    nodeId As OpcNodeId,
    filter As OpcDataChangeFilter,
    received As OpcDataChangeReceivedEventHandler) As OpcMonitoredItem

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe OpcNodeId of the node its Value attribute is to be monitored.
filterOpcDataChangeFilterThe OpcDataChangeFilter to use to apply different conditions while monitoring the attribute.
receivedOpcDataChangeReceivedEventHandlerThe OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

Returns

OpcMonitoredItem

A new instance of the OpcMonitoredItem class setup with the information specified. The monitored item will then monitor the node identified by the values passed to this method.

Exceptions

ExceptionCondition
ArgumentExceptionThe nodeId is empty.
ArgumentNullExceptionThe nodeId is a null reference (Nothing in Visual Basic).

Remarks

The server needs to be notified about the new monitored item to take effect. To do so use the ApplyChanges method.

AddMonitoredItem(OpcNodeId, OpcEventFilter, OpcEventReceivedEventHandler) ​

since v2.7

Adds a new monitored item which subscribes to changes on the EventNotifier attribute of the node specified by nodeId using the further configured filter.

csharp
public OpcMonitoredItem AddMonitoredItem(
    OpcNodeId nodeId,
    OpcEventFilter filter,
    OpcEventReceivedEventHandler received)
vbnet
Public Function AddMonitoredItem(
    nodeId As OpcNodeId,
    filter As OpcEventFilter,
    received As OpcEventReceivedEventHandler) As OpcMonitoredItem

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe OpcNodeId of the node its EventNotifier attribute is to be monitored.
filterOpcEventFilterThe OpcEventFilter to use to apply different conditions while monitoring the attribute.
receivedOpcEventReceivedEventHandlerThe OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

Returns

OpcMonitoredItem

A new instance of the OpcMonitoredItem class setup with the information specified. The monitored item will then monitor the node identified by the values passed to this method.

Exceptions

ExceptionCondition
ArgumentExceptionThe nodeId is empty.
ArgumentNullExceptionThe nodeId is a null reference (Nothing in Visual Basic).

Remarks

The server needs to be notified about the new monitored item to take effect. To do so use the ApplyChanges method.

AddMonitoredItem(OpcNodeId, OpcAttribute, OpcMonitoringFilter) ​

since v2.7

Adds a new monitored item which subscribes to the attribute of the node specified by nodeId using the further configured filter.

csharp
public OpcMonitoredItem AddMonitoredItem(
    OpcNodeId nodeId,
    OpcAttribute attribute,
    OpcMonitoringFilter filter)
vbnet
Public Function AddMonitoredItem(
    nodeId As OpcNodeId,
    attribute As OpcAttribute,
    filter As OpcMonitoringFilter) As OpcMonitoredItem

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe OpcNodeId of the node its attribute is to be monitored.
attributeOpcAttributeThe OpcAttribute to monitor.
filterOpcMonitoringFilterThe OpcMonitoringFilter (either a OpcDataChangeFilter or a OpcEventFilter) to use to apply different conditions while monitoring the attribute.

Returns

OpcMonitoredItem

A new instance of the OpcMonitoredItem class setup with the information specified. The monitored item will then monitor the node identified by the values passed to this method.

Exceptions

ExceptionCondition
ArgumentExceptionThe nodeId is empty.
ArgumentNullExceptionThe nodeId is a null reference (Nothing in Visual Basic).

Remarks

The server needs to be notified about the new monitored item to take effect. To do so use the ApplyChanges method.

AddMonitoredItem(OpcNodeId, OpcAttribute, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler) ​

since v2.7

Adds a new monitored item which subscribes to the attribute of the node specified by nodeId using the further configured filter.

csharp
public OpcMonitoredItem AddMonitoredItem(
    OpcNodeId nodeId,
    OpcAttribute attribute,
    OpcDataChangeFilter filter,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function AddMonitoredItem(
    nodeId As OpcNodeId,
    attribute As OpcAttribute,
    filter As OpcDataChangeFilter,
    received As OpcDataChangeReceivedEventHandler) As OpcMonitoredItem

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe OpcNodeId of the node its attribute is to be monitored.
attributeOpcAttributeThe OpcAttribute to monitor.
filterOpcDataChangeFilterThe OpcDataChangeFilter to use to apply different conditions while monitoring the attribute.
receivedOpcDataChangeReceivedEventHandlerThe OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

Returns

OpcMonitoredItem

A new instance of the OpcMonitoredItem class setup with the information specified. The monitored item will then monitor the node identified by the values passed to this method.

Exceptions

ExceptionCondition
ArgumentExceptionThe nodeId is empty.
ArgumentNullExceptionThe nodeId is a null reference (Nothing in Visual Basic).

Remarks

The server needs to be notified about the new monitored item to take effect. To do so use the ApplyChanges method.

AddMonitoredItem(OpcNodeId, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler) ​

since v2.7

Adds a new monitored item which subscribes to the attribute of the node specified by nodeId using the further configured filter.

csharp
public OpcMonitoredItem AddMonitoredItem(
    OpcNodeId nodeId,
    OpcAttribute attribute,
    OpcEventFilter filter,
    OpcEventReceivedEventHandler received)
vbnet
Public Function AddMonitoredItem(
    nodeId As OpcNodeId,
    attribute As OpcAttribute,
    filter As OpcEventFilter,
    received As OpcEventReceivedEventHandler) As OpcMonitoredItem

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe OpcNodeId of the node its attribute is to be monitored.
attributeOpcAttributeThe OpcAttribute to monitor.
filterOpcEventFilterThe OpcEventFilter to use to apply different conditions while monitoring the attribute.
receivedOpcEventReceivedEventHandlerThe OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

Returns

OpcMonitoredItem

A new instance of the OpcMonitoredItem class setup with the information specified. The monitored item will then monitor the node identified by the values passed to this method.

Exceptions

ExceptionCondition
ArgumentExceptionThe nodeId is empty.
ArgumentNullExceptionThe nodeId is a null reference (Nothing in Visual Basic).

Remarks

The server needs to be notified about the new monitored item to take effect. To do so use the ApplyChanges method.

AddMonitoredItem(IEnumerable<OpcMonitoredItem>) ​

Adds the monitored items specified by items to this OpcSubscription.

csharp
public void AddMonitoredItem(IEnumerable<OpcMonitoredItem> items)
vbnet
Public Sub AddMonitoredItem(items As IEnumerable(Of OpcMonitoredItem))

Parameters

NameTypeDescription
itemsIEnumerable<OpcMonitoredItem>A sequence of OpcMonitoredItem istances to add.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe items is a null reference (Nothing in Visual Basic).

Remarks

The server needs to be notified about the new monitored item to take effect. To do so use the ApplyChanges method.

AddMonitoredItem(params OpcMonitoredItem[]) ​

Adds the monitored items specified by items to this OpcSubscription.

csharp
public void AddMonitoredItem(params OpcMonitoredItem[] items)
vbnet
Public Sub AddMonitoredItem(ParamArray items As OpcMonitoredItem())

Parameters

NameTypeDescription
itemsparams OpcMonitoredItem[]An array of OpcMonitoredItem istances to add.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe items is a null reference (Nothing in Visual Basic).

Remarks

The server needs to be notified about the new monitored item to take effect. To do so use the ApplyChanges method.

ApplyChanges ​

Applies any changes made on the current OpcSubscription or on one of its MonitoredItems using the according services of the server connected to.

csharp
public void ApplyChanges()
vbnet
Public Sub ApplyChanges()

Exceptions

ExceptionCondition
InvalidOperationExceptionThe current OpcSubscription has not yet been created (see IsCreated).
OpcExceptionThe deletion, modification, creation of monitored items or the modification of the subscription has been failed. For more information see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid and BadMonitoredItemIdInvalid.

ChangeMonitoringMode ​

3 overloads

OverloadDescription
ChangeMonitoringMode(OpcMonitoringMode)since v2.11Changes the monitoring mode of all MonitoredItems.
ChangeMonitoringMode(OpcMonitoringMode, IEnumerable<OpcMonitoredItem>)Changes the monitoring mode of one or more monitored items.
ChangeMonitoringMode(OpcMonitoringMode, params OpcMonitoredItem[])Changes the monitoring mode of one or more monitored items.

Exceptions (all overloads)

ExceptionCondition
InvalidOperationExceptionThe current OpcSubscription has not yet been created (see IsCreated).
OpcExceptionChanging the monitoring mode has failed. For more information see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadSubscriptionIdInvalid and BadMonitoringModeInvalid.

ChangeMonitoringMode(OpcMonitoringMode) ​

since v2.11

Changes the monitoring mode of all MonitoredItems.

csharp
public void ChangeMonitoringMode(OpcMonitoringMode monitoringMode)
vbnet
Public Sub ChangeMonitoringMode(monitoringMode As OpcMonitoringMode)

Parameters

NameTypeDescription
monitoringModeOpcMonitoringModeThe new OpcMonitoringMode to apply on all MonitoredItems of this OpcSubscription.

Remarks

The server does not need to be notified about the change to take effect, because of this method directly operates on the server.

ChangeMonitoringMode(OpcMonitoringMode, IEnumerable<OpcMonitoredItem>) ​

Changes the monitoring mode of one or more monitored items.

csharp
public void ChangeMonitoringMode(
    OpcMonitoringMode monitoringMode,
    IEnumerable<OpcMonitoredItem> items)
vbnet
Public Sub ChangeMonitoringMode(
    monitoringMode As OpcMonitoringMode,
    items As IEnumerable(Of OpcMonitoredItem))

Parameters

NameTypeDescription
monitoringModeOpcMonitoringModeThe new OpcMonitoringMode to apply on the items specified.
itemsIEnumerable<OpcMonitoredItem>A sequence of OpcMonitoredItem instances, assigned to this OpcSubscription, its monitoring mode is to be changed.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe items is a null reference (Nothing in Visual Basic).

Remarks

The server does not need to be notified about the change to take effect, because of this method directly operates on the server.

ChangeMonitoringMode(OpcMonitoringMode, params OpcMonitoredItem[]) ​

Changes the monitoring mode of one or more monitored items.

csharp
public void ChangeMonitoringMode(
    OpcMonitoringMode monitoringMode,
    params OpcMonitoredItem[] items)
vbnet
Public Sub ChangeMonitoringMode(
    monitoringMode As OpcMonitoringMode,
    ParamArray items As OpcMonitoredItem())

Parameters

NameTypeDescription
monitoringModeOpcMonitoringModeThe new OpcMonitoringMode to apply on the items specified.
itemsparams OpcMonitoredItem[]An array of OpcMonitoredItem instances, assigned to this OpcSubscription, its monitoring mode is to be changed.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe items is a null reference (Nothing in Visual Basic).

Remarks

The server does not need to be notified about the change to take effect, because of this method directly operates on the server.

GetMonitoredItem ​

Retrieves the OpcMonitoredItem the dataChange specified belongs to.

csharp
public OpcMonitoredItem GetMonitoredItem(OpcDataChangeDataSetItem dataChange)
vbnet
Public Function GetMonitoredItem(
    dataChange As OpcDataChangeDataSetItem) As OpcMonitoredItem

Parameters

NameTypeDescription
dataChangeOpcDataChangeDataSetItemThe OpcDataChangeDataSetItem the according OpcMonitoredItem is to be determined from the MonitoredItems of this OpcSubscription.

Returns

OpcMonitoredItem

The OpcMonitoredItem instance which belongs to the dataChange specified or a null reference (Nothing in Visual Basic) if the monitored item referenced by the OpcDataChangeDataSetItem instance could not be determined.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe dataChange is a null reference (Nothing in Visual Basic).

OnChanged ​

protected · virtual

Raises the Changed event of the OpcSubscription.

csharp
protected virtual void OnChanged(OpcSubscriptionChangedEventArgs e)
vbnet
Protected Overridable Sub OnChanged(e As OpcSubscriptionChangedEventArgs)

Parameters

NameTypeDescription
eOpcSubscriptionChangedEventArgsThe event data.

OnDataChangeReceived ​

protected · virtual

Raises the DataChangeReceived event of the OpcSubscription.

csharp
protected virtual void OnDataChangeReceived(OpcDataChangeReceivedEventArgs e)
vbnet
Protected Overridable Sub OnDataChangeReceived(
    e As OpcDataChangeReceivedEventArgs)

Parameters

NameTypeDescription
eOpcDataChangeReceivedEventArgsThe event data.

OnEventReceived ​

protected · virtual

Raises the EventReceived event of the OpcSubscription.

csharp
protected virtual void OnEventReceived(OpcEventReceivedEventArgs e)
vbnet
Protected Overridable Sub OnEventReceived(e As OpcEventReceivedEventArgs)

Parameters

NameTypeDescription
eOpcEventReceivedEventArgsThe event data.

OnIsPublishingChanged ​

protected · virtual

Raises the IsPublishingChanged event of the OpcSubscription.

csharp
protected virtual void OnIsPublishingChanged(EventArgs e)
vbnet
Protected Overridable Sub OnIsPublishingChanged(e As EventArgs)

Parameters

NameTypeDescription
eEventArgsThe event data.

OnNotificationFailed ​

protected · virtual · since v2.57

Raises the NotificationFailed event of the OpcSubscription.

csharp
protected virtual void OnNotificationFailed(OpcNotificationFailedEventArgs e)
vbnet
Protected Overridable Sub OnNotificationFailed(
    e As OpcNotificationFailedEventArgs)

Parameters

NameTypeDescription
eOpcNotificationFailedEventArgsThe event data.

OnNotificationReceived ​

protected · virtual

Raises the NotificationReceived event of the OpcSubscription.

csharp
protected virtual void OnNotificationReceived(
    OpcNotificationReceivedEventArgs e)
vbnet
Protected Overridable Sub OnNotificationReceived(
    e As OpcNotificationReceivedEventArgs)

Parameters

NameTypeDescription
eOpcNotificationReceivedEventArgsThe event data.

RefreshConditions ​

Forces the server to refresh all current conditions to synchronize the client with the server.

csharp
public void RefreshConditions()
vbnet
Public Sub RefreshConditions()

Exceptions

ExceptionCondition
InvalidOperationExceptionThe current OpcSubscription has not yet been created (see IsCreated).
OpcExceptionRefreshing conditions has failed. For more information see exception details. The following issues can lead to that exception: BadSubscriptionIdInvalid, BadRefreshInProgress and BadUserAccessDenied.

Remarks

The server does not need to be notified about the call to take effect, because of this method directly operates on the server.

The client will request a refresh of all condition instances that currenlty are in an interesting state (they have the retain property set to the value true). This includes previous states of a condition instance for which the server maintains branches as well.

A client would typically invoke this method when it initially connects to a server and following any situations, such as communication disruptions, in which it would require resynchronization with the server.

RemoveMonitoredItem ​

3 overloads

OverloadDescription
RemoveMonitoredItem(OpcMonitoredItem)Removes the monitored item specified by item from the MonitoredItems of this OpcSubscription.
RemoveMonitoredItem(IEnumerable<OpcMonitoredItem>)Removes the monitored items specified by items from the MonitoredItems of this OpcSubscription.
RemoveMonitoredItem(params OpcMonitoredItem[])Removes the monitored items specified by items from the MonitoredItems of this OpcSubscription.

RemoveMonitoredItem(OpcMonitoredItem) ​

Removes the monitored item specified by item from the MonitoredItems of this OpcSubscription.

csharp
public void RemoveMonitoredItem(OpcMonitoredItem item)
vbnet
Public Sub RemoveMonitoredItem(item As OpcMonitoredItem)

Parameters

NameTypeDescription
itemOpcMonitoredItemThe OpcMonitoredItem to remove.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe item is a null reference (Nothing in Visual Basic).

Remarks

The server needs to be notified about the orphaned monitored item to take effect. To do so use the ApplyChanges method.

RemoveMonitoredItem(IEnumerable<OpcMonitoredItem>) ​

Removes the monitored items specified by items from the MonitoredItems of this OpcSubscription.

csharp
public void RemoveMonitoredItem(IEnumerable<OpcMonitoredItem> items)
vbnet
Public Sub RemoveMonitoredItem(items As IEnumerable(Of OpcMonitoredItem))

Parameters

NameTypeDescription
itemsIEnumerable<OpcMonitoredItem>A sequence of OpcMonitoredItem instances to remove.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe items is a null reference (Nothing in Visual Basic).

Remarks

The server needs to be notified about the orphaned monitored items to take effect. To do so use the ApplyChanges method.

RemoveMonitoredItem(params OpcMonitoredItem[]) ​

Removes the monitored items specified by items from the MonitoredItems of this OpcSubscription.

csharp
public void RemoveMonitoredItem(params OpcMonitoredItem[] items)
vbnet
Public Sub RemoveMonitoredItem(ParamArray items As OpcMonitoredItem())

Parameters

NameTypeDescription
itemsparams OpcMonitoredItem[]An array of OpcMonitoredItem instances to remove.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe items is a null reference (Nothing in Visual Basic).

Remarks

The server needs to be notified about the orphaned monitored items to take effect. To do so use the ApplyChanges method.

ResendData ​

since v2.51

Notifies the server to resend the current values of the MonitoredItems monitoring data changes where the MonitoringMode is equals to Reporting.

csharp
public void ResendData()
vbnet
Public Sub ResendData()

Exceptions

ExceptionCondition
InvalidOperationExceptionThe current OpcSubscription has not yet been created (see IsCreated).
OpcExceptionThe server notification has failed. For more information see exception details. The following issues can lead to that exception: BadSubscriptionIdInvalid and BadUserAccessDenied.

StartPublishing ​

Enables notifications being send from the server to the client for this OpcSubscription.

csharp
public void StartPublishing()
vbnet
Public Sub StartPublishing()

Exceptions

ExceptionCondition
InvalidOperationExceptionThe current OpcSubscription has not yet been created (see IsCreated).
OpcExceptionEnabling notifications has failed. For more information see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.

Remarks

The server does not need to be notified about the call to take effect, because of this method directly operates on the server.

StopPublishing ​

Disables notifications being send from the server to the client for this OpcSubscription.

csharp
public void StopPublishing()
vbnet
Public Sub StopPublishing()

Exceptions

ExceptionCondition
InvalidOperationExceptionThe current OpcSubscription has not yet been created (see IsCreated).
OpcExceptionDisabling notifications has failed. For more information see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.

Remarks

The server does not need to be notified about the call to take effect, because of this method directly operates on the server.

ToString ​

override

Returns a string that represents the current OpcSubscription.

csharp
public override string ToString()
vbnet
Public Overrides Function ToString() As String

Returns

String

A string that represents the current OpcSubscription including the used DisplayName, the CurrentPublishingIsEnabled and the CurrentPublishingInterval.

Overrides

ToString()

Unsubscribe ​

Deletes this OpcSubscription and all its MonitoredItems.

csharp
public void Unsubscribe()
vbnet
Public Sub Unsubscribe()

Exceptions

ExceptionCondition
InvalidOperationExceptionThe current OpcSubscription has not yet been created (see IsCreated).
OpcExceptionChanging the monitoring mode has failed. For more information see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.

Remarks

The server does not need to be notified about the call to take effect, because of this method directly operates on the server.

Events ​

Changed ​

Occurs then a monitored is added, modified, deleted or changes on the OpcSubscription were applied.

csharp
public event OpcSubscriptionChangedEventHandler Changed
vbnet
Public Event Changed As OpcSubscriptionChangedEventHandler

Event type

OpcSubscriptionChangedEventHandler

DataChangeReceived ​

Occurs then a monitored item receives an event notification which is not handled by an OpcDataChangeReceivedEventHandler on its DataChangeReceived event.

csharp
public event OpcDataChangeReceivedEventHandler DataChangeReceived
vbnet
Public Event DataChangeReceived As OpcDataChangeReceivedEventHandler

Event type

OpcDataChangeReceivedEventHandler

Remarks

This event only occurs if an event notification is not handled by the according DataChangeReceived event handler.

EventReceived ​

Occurs then a monitored item receives an event notification which is not handled by an OpcEventReceivedEventHandler on its EventReceived event.

csharp
public event OpcEventReceivedEventHandler EventReceived
vbnet
Public Event EventReceived As OpcEventReceivedEventHandler

Event type

OpcEventReceivedEventHandler

Remarks

This event only occurs if an event notification is not handled by the according EventReceived event handler.

IsPublishingChanged ​

Occurs then the IsPublishing property has changed.

csharp
public event EventHandler IsPublishingChanged
vbnet
Public Event IsPublishingChanged As EventHandler

Event type

EventHandler

NotificationFailed ​

since v2.57

Occurs then a notification message for this OpcSubscription failed to be received, so that its data changes and events do not reach the monitored items.

csharp
public event OpcNotificationFailedEventHandler NotificationFailed
vbnet
Public Event NotificationFailed As OpcNotificationFailedEventHandler

Event type

OpcNotificationFailedEventHandler

Remarks

The session requests a failed message again from the server until the server no longer holds it. This event occurs once for each message, however often it fails, and once more with BadMessageNotAvailable when the message is lost. An event which is not handled by this event handler is passed to the NotificationFailed event of the OpcClient which owns this OpcSubscription.

NotificationReceived ​

Occurs then a OpcNotification for this OpcSubscription has been received by the session which owns this OpcSubscription.

csharp
public event OpcNotificationReceivedEventHandler NotificationReceived
vbnet
Public Event NotificationReceived As OpcNotificationReceivedEventHandler

Event type

OpcNotificationReceivedEventHandler