Skip to content

Reference

OpcClient.SubscribeDataChange Method

Subscribes data changes on the Value attribute of the node specified by nodeId.

Reference

OpcClient.SubscribeDataChange Method ​

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

66 overloads

OverloadDescription
SubscribeDataChange(byte[], OpcDataChangeReceivedEventHandler)Subscribes data changes on the Value attribute of the node specified by nodeId.
SubscribeDataChange(Guid, OpcDataChangeReceivedEventHandler)Subscribes data changes on the Value attribute of the node specified by nodeId.
SubscribeDataChange(int, OpcDataChangeReceivedEventHandler)Subscribes data changes on the Value attribute of the node specified by nodeId.
SubscribeDataChange(uint, OpcDataChangeReceivedEventHandler)Subscribes data changes on the Value attribute of the node specified by nodeId.
SubscribeDataChange(string, OpcDataChangeReceivedEventHandler)Subscribes data changes on the Value attribute of the node specified by nodeId.
SubscribeDataChange(byte[], OpcAttribute, OpcDataChangeReceivedEventHandler)Subscribes data changes on the attribute of the node specified by nodeId.
SubscribeDataChange(Guid, OpcAttribute, OpcDataChangeReceivedEventHandler)Subscribes data changes on the attribute of the node specified by nodeId.
SubscribeDataChange(int, OpcAttribute, OpcDataChangeReceivedEventHandler)Subscribes data changes on the attribute of the node specified by nodeId.
SubscribeDataChange(uint, OpcAttribute, OpcDataChangeReceivedEventHandler)Subscribes data changes on the attribute of the node specified by nodeId.
SubscribeDataChange(string, OpcAttribute, OpcDataChangeReceivedEventHandler)Subscribes data changes on the attribute of the node specified by nodeId.
SubscribeDataChange(byte[], int, OpcDataChangeReceivedEventHandler)Subscribes data changes on the Value attribute of the node specified by nodeId and namespaceIndex specified to operate on the Value attribute.
SubscribeDataChange(Guid, int, OpcDataChangeReceivedEventHandler)Subscribes data changes on the Value attribute of the node specified by nodeId and namespaceIndex specified to operate on the Value attribute.
SubscribeDataChange(int, int, OpcDataChangeReceivedEventHandler)Subscribes data changes on the Value attribute of the node specified by nodeId and namespaceIndex specified to operate on the Value attribute.
SubscribeDataChange(uint, int, OpcDataChangeReceivedEventHandler)Subscribes data changes on the Value attribute of the node specified by nodeId and namespaceIndex specified to operate on the Value attribute.
SubscribeDataChange(string, int, OpcDataChangeReceivedEventHandler)Subscribes data changes on the Value attribute of the node specified by nodeId and namespaceIndex specified to operate on the Value attribute.
SubscribeDataChange(byte[], int, OpcAttribute, OpcDataChangeReceivedEventHandler)Subscribes data changes on the attribute of the node specified by nodeId and namespaceIndex specified to operate on the attribute.
SubscribeDataChange(Guid, int, OpcAttribute, OpcDataChangeReceivedEventHandler)Subscribes data changes on the attribute of the node specified by nodeId and namespaceIndex specified to operate on the attribute.
SubscribeDataChange(int, int, OpcAttribute, OpcDataChangeReceivedEventHandler)Subscribes data changes on the attribute of the node specified by nodeId and namespaceIndex specified to operate on the attribute.
SubscribeDataChange(uint, int, OpcAttribute, OpcDataChangeReceivedEventHandler)Subscribes data changes on the attribute of the node specified by nodeId and namespaceIndex specified to operate on the attribute.
SubscribeDataChange(string, int, OpcAttribute, OpcDataChangeReceivedEventHandler)Subscribes data changes on the attribute of the node specified by nodeId and namespaceIndex specified to operate on the attribute.
SubscribeDataChange(byte[], OpcDataChangeFilter, OpcDataChangeReceivedEventHandler)Subscribes data changes on the Value attribute of the node specified by nodeId.
SubscribeDataChange(byte[], OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler)since v2.6Subscribes data changes on the Value attribute of the node specified by nodeId.
SubscribeDataChange(Guid, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler)Subscribes data changes on the Value attribute of the node specified by nodeId.
SubscribeDataChange(Guid, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler)since v2.6Subscribes data changes on the Value attribute of the node specified by nodeId.
SubscribeDataChange(int, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler)Subscribes data changes on the Value attribute of the node specified by nodeId.
SubscribeDataChange(int, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler)since v2.6Subscribes data changes on the Value attribute of the node specified by nodeId.
SubscribeDataChange(uint, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler)Subscribes data changes on the Value attribute of the node specified by nodeId.
SubscribeDataChange(uint, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler)since v2.6Subscribes data changes on the Value attribute of the node specified by nodeId.
SubscribeDataChange(string, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler)Subscribes data changes on the Value attribute of the node specified by nodeId.
SubscribeDataChange(string, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler)since v2.6Subscribes data changes on the Value attribute of the node specified by nodeId.
SubscribeDataChange(byte[], int, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler)Subscribes data changes on the Value attribute of the node specified by nodeId and namespaceIndex specified.
SubscribeDataChange(byte[], int, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler)since v2.6Subscribes data changes on the Value attribute of the node specified by nodeId and namespaceIndex specified.
SubscribeDataChange(Guid, int, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler)Subscribes data changes on the Value attribute of the node specified by nodeId and namespaceIndex specified.
SubscribeDataChange(Guid, int, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler)since v2.6Subscribes data changes on the Value attribute of the node specified by nodeId and namespaceIndex specified.
SubscribeDataChange(int, int, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler)Subscribes data changes on the Value attribute of the node specified by nodeId and namespaceIndex specified.
SubscribeDataChange(int, int, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler)since v2.6Subscribes data changes on the Value attribute of the node specified by nodeId and namespaceIndex specified.
SubscribeDataChange(uint, int, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler)Subscribes data changes on the Value attribute of the node specified by nodeId and namespaceIndex specified.
SubscribeDataChange(uint, int, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler)since v2.6Subscribes data changes on the Value attribute of the node specified by nodeId and namespaceIndex specified.
SubscribeDataChange(string, int, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler)Subscribes data changes on the Value attribute of the node specified by nodeId and namespaceIndex specified.
SubscribeDataChange(string, int, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler)since v2.6Subscribes data changes on the Value attribute of the node specified by nodeId and namespaceIndex specified.
SubscribeDataChange(byte[], OpcAttribute, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler)Subscribes data changes on the attribute of the node specified by nodeId.
SubscribeDataChange(byte[], OpcAttribute, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler)since v2.6Subscribes data changes on the attribute of the node specified by nodeId.
SubscribeDataChange(Guid, OpcAttribute, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler)Subscribes data changes on the attribute of the node specified by nodeId.
SubscribeDataChange(Guid, OpcAttribute, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler)since v2.6Subscribes data changes on the attribute of the node specified by nodeId.
SubscribeDataChange(int, OpcAttribute, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler)Subscribes data changes on the attribute of the node specified by nodeId.
SubscribeDataChange(int, OpcAttribute, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler)since v2.6Subscribes data changes on the attribute of the node specified by nodeId.
SubscribeDataChange(uint, OpcAttribute, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler)Subscribes data changes on the attribute of the node specified by nodeId.
SubscribeDataChange(uint, OpcAttribute, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler)since v2.6Subscribes data changes on the attribute of the node specified by nodeId.
SubscribeDataChange(string, OpcAttribute, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler)Subscribes data changes on the attribute of the node specified by nodeId.
SubscribeDataChange(string, OpcAttribute, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler)since v2.6Subscribes data changes on the attribute of the node specified by nodeId.
SubscribeDataChange(byte[], int, OpcAttribute, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler)Subscribes data changes on the attribute of the node specified by nodeId and namespaceIndex specified.
SubscribeDataChange(byte[], int, OpcAttribute, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler)since v2.6Subscribes data changes on the attribute of the node specified by nodeId and namespaceIndex specified.
SubscribeDataChange(Guid, int, OpcAttribute, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler)Subscribes data changes on the attribute of the node specified by nodeId and namespaceIndex specified.
SubscribeDataChange(Guid, int, OpcAttribute, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler)since v2.6Subscribes data changes on the attribute of the node specified by nodeId and namespaceIndex specified.
SubscribeDataChange(int, int, OpcAttribute, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler)Subscribes data changes on the attribute of the node specified by nodeId and namespaceIndex specified.
SubscribeDataChange(int, int, OpcAttribute, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler)since v2.6Subscribes data changes on the attribute of the node specified by nodeId and namespaceIndex specified.
SubscribeDataChange(uint, int, OpcAttribute, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler)Subscribes data changes on the attribute of the node specified by nodeId and namespaceIndex specified.
SubscribeDataChange(uint, int, OpcAttribute, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler)since v2.6Subscribes data changes on the attribute of the node specified by nodeId and namespaceIndex specified.
SubscribeDataChange(string, int, OpcAttribute, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler)Subscribes data changes on the attribute of the node specified by nodeId and namespaceIndex specified.
SubscribeDataChange(string, int, OpcAttribute, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler)since v2.6Subscribes data changes on the attribute of the node specified by nodeId and namespaceIndex specified.
SubscribeDataChange(OpcNodeId, OpcDataChangeReceivedEventHandler)Subscribes data changes on the Value attribute of the node specified by nodeId.
SubscribeDataChange(OpcNodeId, OpcAttribute, OpcDataChangeReceivedEventHandler)Subscribes data changes on the attribute of the node specified by nodeId.
SubscribeDataChange(OpcNodeId, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler)Subscribes data changes on the Value attribute of the node specified by nodeId.
SubscribeDataChange(OpcNodeId, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler)since v2.6Subscribes data changes on the Value attribute of the node specified by nodeId.
SubscribeDataChange(OpcNodeId, OpcAttribute, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler)Subscribes data changes on the attribute of the node specified by nodeId.
SubscribeDataChange(OpcNodeId, OpcAttribute, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler)since v2.6Subscribes data changes on the attribute of the node specified by nodeId.

Exceptions (all overloads)

ExceptionCondition
ArgumentExceptionThe nodeId is empty.
InvalidOperationExceptionThe subscription service is currently not supported, especially using the arguments specified.
ObjectDisposedExceptionThe object has been disposed of.
OpcExceptionThe service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(byte[], OpcDataChangeReceivedEventHandler) ​

Subscribes data changes on the Value attribute of the node specified by nodeId.

csharp
public OpcSubscription SubscribeDataChange(
    byte[] nodeId,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As Byte(),
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdByte[]The opaque node identifier of the node to subscribe.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(Guid, OpcDataChangeReceivedEventHandler) ​

Subscribes data changes on the Value attribute of the node specified by nodeId.

csharp
public OpcSubscription SubscribeDataChange(
    Guid nodeId,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As Guid,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdGuidThe general unique identifier (= GUID) of the node to subscribe.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(int, OpcDataChangeReceivedEventHandler) ​

Subscribes data changes on the Value attribute of the node specified by nodeId.

csharp
public OpcSubscription SubscribeDataChange(
    int nodeId,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As Integer,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdInt32The numeric node identifier of the node to subscribe.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(uint, OpcDataChangeReceivedEventHandler) ​

Subscribes data changes on the Value attribute of the node specified by nodeId.

csharp
public OpcSubscription SubscribeDataChange(
    uint nodeId,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As UInteger,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdUInt32The numeric node identifier of the node to subscribe.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(string, OpcDataChangeReceivedEventHandler) ​

Subscribes data changes on the Value attribute of the node specified by nodeId.

csharp
public OpcSubscription SubscribeDataChange(
    string nodeId,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As String,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdStringThe textual node identifier of the node to subscribe.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(byte[], OpcAttribute, OpcDataChangeReceivedEventHandler) ​

Subscribes data changes on the attribute of the node specified by nodeId.

csharp
public OpcSubscription SubscribeDataChange(
    byte[] nodeId,
    OpcAttribute attribute,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As Byte(),
    attribute As OpcAttribute,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdByte[]The opaque node identifier of the node to subscribe.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(Guid, OpcAttribute, OpcDataChangeReceivedEventHandler) ​

Subscribes data changes on the attribute of the node specified by nodeId.

csharp
public OpcSubscription SubscribeDataChange(
    Guid nodeId,
    OpcAttribute attribute,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As Guid,
    attribute As OpcAttribute,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdGuidThe general unique identifier (= GUID) of the node to subscribe.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(int, OpcAttribute, OpcDataChangeReceivedEventHandler) ​

Subscribes data changes on the attribute of the node specified by nodeId.

csharp
public OpcSubscription SubscribeDataChange(
    int nodeId,
    OpcAttribute attribute,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As Integer,
    attribute As OpcAttribute,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdInt32The numeric node identifier of the node to subscribe.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(uint, OpcAttribute, OpcDataChangeReceivedEventHandler) ​

Subscribes data changes on the attribute of the node specified by nodeId.

csharp
public OpcSubscription SubscribeDataChange(
    uint nodeId,
    OpcAttribute attribute,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As UInteger,
    attribute As OpcAttribute,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdUInt32The numeric node identifier of the node to subscribe.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(string, OpcAttribute, OpcDataChangeReceivedEventHandler) ​

Subscribes data changes on the attribute of the node specified by nodeId.

csharp
public OpcSubscription SubscribeDataChange(
    string nodeId,
    OpcAttribute attribute,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As String,
    attribute As OpcAttribute,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdStringThe textual node identifier of the node to subscribe.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(byte[], int, OpcDataChangeReceivedEventHandler) ​

Subscribes data changes on the Value attribute of the node specified by nodeId and namespaceIndex specified to operate on the Value attribute.

csharp
public OpcSubscription SubscribeDataChange(
    byte[] nodeId,
    int namespaceIndex,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As Byte(),
    namespaceIndex As Integer,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdByte[]The opaque node identifier of the node to subscribe.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(Guid, int, OpcDataChangeReceivedEventHandler) ​

Subscribes data changes on the Value attribute of the node specified by nodeId and namespaceIndex specified to operate on the Value attribute.

csharp
public OpcSubscription SubscribeDataChange(
    Guid nodeId,
    int namespaceIndex,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As Guid,
    namespaceIndex As Integer,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdGuidThe general unique identifier (= GUID) of the node to subscribe.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(int, int, OpcDataChangeReceivedEventHandler) ​

Subscribes data changes on the Value attribute of the node specified by nodeId and namespaceIndex specified to operate on the Value attribute.

csharp
public OpcSubscription SubscribeDataChange(
    int nodeId,
    int namespaceIndex,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As Integer,
    namespaceIndex As Integer,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdInt32The numeric node identifier of the node to subscribe.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(uint, int, OpcDataChangeReceivedEventHandler) ​

Subscribes data changes on the Value attribute of the node specified by nodeId and namespaceIndex specified to operate on the Value attribute.

csharp
public OpcSubscription SubscribeDataChange(
    uint nodeId,
    int namespaceIndex,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As UInteger,
    namespaceIndex As Integer,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdUInt32The numeric node identifier of the node to subscribe.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(string, int, OpcDataChangeReceivedEventHandler) ​

Subscribes data changes on the Value attribute of the node specified by nodeId and namespaceIndex specified to operate on the Value attribute.

csharp
public OpcSubscription SubscribeDataChange(
    string nodeId,
    int namespaceIndex,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As String,
    namespaceIndex As Integer,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdStringThe textual node identifier of the node to subscribe.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(byte[], int, OpcAttribute, OpcDataChangeReceivedEventHandler) ​

Subscribes data changes on the attribute of the node specified by nodeId and namespaceIndex specified to operate on the attribute.

csharp
public OpcSubscription SubscribeDataChange(
    byte[] nodeId,
    int namespaceIndex,
    OpcAttribute attribute,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As Byte(),
    namespaceIndex As Integer,
    attribute As OpcAttribute,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdByte[]The opaque node identifier of the node to subscribe.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(Guid, int, OpcAttribute, OpcDataChangeReceivedEventHandler) ​

Subscribes data changes on the attribute of the node specified by nodeId and namespaceIndex specified to operate on the attribute.

csharp
public OpcSubscription SubscribeDataChange(
    Guid nodeId,
    int namespaceIndex,
    OpcAttribute attribute,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As Guid,
    namespaceIndex As Integer,
    attribute As OpcAttribute,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdGuidThe general unique identifier (= GUID) of the node to subscribe.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(int, int, OpcAttribute, OpcDataChangeReceivedEventHandler) ​

Subscribes data changes on the attribute of the node specified by nodeId and namespaceIndex specified to operate on the attribute.

csharp
public OpcSubscription SubscribeDataChange(
    int nodeId,
    int namespaceIndex,
    OpcAttribute attribute,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As Integer,
    namespaceIndex As Integer,
    attribute As OpcAttribute,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdInt32The numeric node identifier of the node to subscribe.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(uint, int, OpcAttribute, OpcDataChangeReceivedEventHandler) ​

Subscribes data changes on the attribute of the node specified by nodeId and namespaceIndex specified to operate on the attribute.

csharp
public OpcSubscription SubscribeDataChange(
    uint nodeId,
    int namespaceIndex,
    OpcAttribute attribute,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As UInteger,
    namespaceIndex As Integer,
    attribute As OpcAttribute,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdUInt32The numeric node identifier of the node to subscribe.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(string, int, OpcAttribute, OpcDataChangeReceivedEventHandler) ​

Subscribes data changes on the attribute of the node specified by nodeId and namespaceIndex specified to operate on the attribute.

csharp
public OpcSubscription SubscribeDataChange(
    string nodeId,
    int namespaceIndex,
    OpcAttribute attribute,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As String,
    namespaceIndex As Integer,
    attribute As OpcAttribute,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdStringThe textual node identifier of the node to subscribe.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(byte[], OpcDataChangeFilter, OpcDataChangeReceivedEventHandler) ​

Subscribes data changes on the Value attribute of the node specified by nodeId.

csharp
public OpcSubscription SubscribeDataChange(
    byte[] nodeId,
    OpcDataChangeFilter filter,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As Byte(),
    filter As OpcDataChangeFilter,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdByte[]The opaque node identifier of the node to subscribe.
filterOpcDataChangeFilterThe OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(byte[], OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler) ​

since v2.6

Subscribes data changes on the Value attribute of the node specified by nodeId.

csharp
public OpcSubscription SubscribeDataChange(
    byte[] nodeId,
    OpcDataChangeTrigger trigger,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As Byte(),
    trigger As OpcDataChangeTrigger,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdByte[]The opaque node identifier of the node to subscribe.
triggerOpcDataChangeTriggerThe conditions used by the server under which a data change is to be reported.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(Guid, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler) ​

Subscribes data changes on the Value attribute of the node specified by nodeId.

csharp
public OpcSubscription SubscribeDataChange(
    Guid nodeId,
    OpcDataChangeFilter filter,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As Guid,
    filter As OpcDataChangeFilter,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdGuidThe general unique identifier (= GUID) of the node to subscribe.
filterOpcDataChangeFilterThe OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(Guid, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler) ​

since v2.6

Subscribes data changes on the Value attribute of the node specified by nodeId.

csharp
public OpcSubscription SubscribeDataChange(
    Guid nodeId,
    OpcDataChangeTrigger trigger,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As Guid,
    trigger As OpcDataChangeTrigger,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdGuidThe general unique identifier (= GUID) of the node to subscribe.
triggerOpcDataChangeTriggerThe conditions used by the server under which a data change is to be reported.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(int, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler) ​

Subscribes data changes on the Value attribute of the node specified by nodeId.

csharp
public OpcSubscription SubscribeDataChange(
    int nodeId,
    OpcDataChangeFilter filter,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As Integer,
    filter As OpcDataChangeFilter,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdInt32The numeric node identifier of the node to subscribe.
filterOpcDataChangeFilterThe OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(int, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler) ​

since v2.6

Subscribes data changes on the Value attribute of the node specified by nodeId.

csharp
public OpcSubscription SubscribeDataChange(
    int nodeId,
    OpcDataChangeTrigger trigger,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As Integer,
    trigger As OpcDataChangeTrigger,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdInt32The numeric node identifier of the node to subscribe.
triggerOpcDataChangeTriggerThe conditions used by the server under which a data change is to be reported.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(uint, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler) ​

Subscribes data changes on the Value attribute of the node specified by nodeId.

csharp
public OpcSubscription SubscribeDataChange(
    uint nodeId,
    OpcDataChangeFilter filter,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As UInteger,
    filter As OpcDataChangeFilter,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdUInt32The numeric node identifier of the node to subscribe.
filterOpcDataChangeFilterThe OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(uint, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler) ​

since v2.6

Subscribes data changes on the Value attribute of the node specified by nodeId.

csharp
public OpcSubscription SubscribeDataChange(
    uint nodeId,
    OpcDataChangeTrigger trigger,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As UInteger,
    trigger As OpcDataChangeTrigger,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdUInt32The numeric node identifier of the node to subscribe.
triggerOpcDataChangeTriggerThe conditions used by the server under which a data change is to be reported.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(string, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler) ​

Subscribes data changes on the Value attribute of the node specified by nodeId.

csharp
public OpcSubscription SubscribeDataChange(
    string nodeId,
    OpcDataChangeFilter filter,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As String,
    filter As OpcDataChangeFilter,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdStringThe textual node identifier of the node to subscribe.
filterOpcDataChangeFilterThe OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(string, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler) ​

since v2.6

Subscribes data changes on the Value attribute of the node specified by nodeId.

csharp
public OpcSubscription SubscribeDataChange(
    string nodeId,
    OpcDataChangeTrigger trigger,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As String,
    trigger As OpcDataChangeTrigger,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdStringThe textual node identifier of the node to subscribe.
triggerOpcDataChangeTriggerThe conditions used by the server under which a data change is to be reported.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(byte[], int, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler) ​

Subscribes data changes on the Value attribute of the node specified by nodeId and namespaceIndex specified.

csharp
public OpcSubscription SubscribeDataChange(
    byte[] nodeId,
    int namespaceIndex,
    OpcDataChangeFilter filter,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As Byte(),
    namespaceIndex As Integer,
    filter As OpcDataChangeFilter,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdByte[]The opaque node identifier of the node to subscribe.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
filterOpcDataChangeFilterThe OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(byte[], int, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler) ​

since v2.6

Subscribes data changes on the Value attribute of the node specified by nodeId and namespaceIndex specified.

csharp
public OpcSubscription SubscribeDataChange(
    byte[] nodeId,
    int namespaceIndex,
    OpcDataChangeTrigger trigger,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As Byte(),
    namespaceIndex As Integer,
    trigger As OpcDataChangeTrigger,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdByte[]The opaque node identifier of the node to subscribe.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
triggerOpcDataChangeTriggerThe conditions used by the server under which a data change is to be reported.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(Guid, int, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler) ​

Subscribes data changes on the Value attribute of the node specified by nodeId and namespaceIndex specified.

csharp
public OpcSubscription SubscribeDataChange(
    Guid nodeId,
    int namespaceIndex,
    OpcDataChangeFilter filter,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As Guid,
    namespaceIndex As Integer,
    filter As OpcDataChangeFilter,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdGuidThe general unique identifier (= GUID) of the node to subscribe.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
filterOpcDataChangeFilterThe OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(Guid, int, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler) ​

since v2.6

Subscribes data changes on the Value attribute of the node specified by nodeId and namespaceIndex specified.

csharp
public OpcSubscription SubscribeDataChange(
    Guid nodeId,
    int namespaceIndex,
    OpcDataChangeTrigger trigger,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As Guid,
    namespaceIndex As Integer,
    trigger As OpcDataChangeTrigger,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdGuidThe general unique identifier (= GUID) of the node to subscribe.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
triggerOpcDataChangeTriggerThe conditions used by the server under which a data change is to be reported.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(int, int, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler) ​

Subscribes data changes on the Value attribute of the node specified by nodeId and namespaceIndex specified.

csharp
public OpcSubscription SubscribeDataChange(
    int nodeId,
    int namespaceIndex,
    OpcDataChangeFilter filter,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As Integer,
    namespaceIndex As Integer,
    filter As OpcDataChangeFilter,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdInt32The numeric node identifier of the node to subscribe.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
filterOpcDataChangeFilterThe OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(int, int, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler) ​

since v2.6

Subscribes data changes on the Value attribute of the node specified by nodeId and namespaceIndex specified.

csharp
public OpcSubscription SubscribeDataChange(
    int nodeId,
    int namespaceIndex,
    OpcDataChangeTrigger trigger,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As Integer,
    namespaceIndex As Integer,
    trigger As OpcDataChangeTrigger,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdInt32The numeric node identifier of the node to subscribe.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
triggerOpcDataChangeTriggerThe conditions used by the server under which a data change is to be reported.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(uint, int, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler) ​

Subscribes data changes on the Value attribute of the node specified by nodeId and namespaceIndex specified.

csharp
public OpcSubscription SubscribeDataChange(
    uint nodeId,
    int namespaceIndex,
    OpcDataChangeFilter filter,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As UInteger,
    namespaceIndex As Integer,
    filter As OpcDataChangeFilter,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdUInt32The numeric node identifier of the node to subscribe.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
filterOpcDataChangeFilterThe OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(uint, int, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler) ​

since v2.6

Subscribes data changes on the Value attribute of the node specified by nodeId and namespaceIndex specified.

csharp
public OpcSubscription SubscribeDataChange(
    uint nodeId,
    int namespaceIndex,
    OpcDataChangeTrigger trigger,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As UInteger,
    namespaceIndex As Integer,
    trigger As OpcDataChangeTrigger,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdUInt32The numeric node identifier of the node to subscribe.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
triggerOpcDataChangeTriggerThe conditions used by the server under which a data change is to be reported.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(string, int, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler) ​

Subscribes data changes on the Value attribute of the node specified by nodeId and namespaceIndex specified.

csharp
public OpcSubscription SubscribeDataChange(
    string nodeId,
    int namespaceIndex,
    OpcDataChangeFilter filter,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As String,
    namespaceIndex As Integer,
    filter As OpcDataChangeFilter,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdStringThe textual node identifier of the node to subscribe.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
filterOpcDataChangeFilterThe OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(string, int, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler) ​

since v2.6

Subscribes data changes on the Value attribute of the node specified by nodeId and namespaceIndex specified.

csharp
public OpcSubscription SubscribeDataChange(
    string nodeId,
    int namespaceIndex,
    OpcDataChangeTrigger trigger,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As String,
    namespaceIndex As Integer,
    trigger As OpcDataChangeTrigger,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdStringThe textual node identifier of the node to subscribe.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
triggerOpcDataChangeTriggerThe conditions used by the server under which a data change is to be reported.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(byte[], OpcAttribute, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler) ​

Subscribes data changes on the attribute of the node specified by nodeId.

csharp
public OpcSubscription SubscribeDataChange(
    byte[] nodeId,
    OpcAttribute attribute,
    OpcDataChangeFilter filter,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As Byte(),
    attribute As OpcAttribute,
    filter As OpcDataChangeFilter,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdByte[]The opaque node identifier of the node to subscribe.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
filterOpcDataChangeFilterThe OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(byte[], OpcAttribute, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler) ​

since v2.6

Subscribes data changes on the attribute of the node specified by nodeId.

csharp
public OpcSubscription SubscribeDataChange(
    byte[] nodeId,
    OpcAttribute attribute,
    OpcDataChangeTrigger trigger,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As Byte(),
    attribute As OpcAttribute,
    trigger As OpcDataChangeTrigger,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdByte[]The opaque node identifier of the node to subscribe.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
triggerOpcDataChangeTriggerThe conditions used by the server under which a data change is to be reported.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(Guid, OpcAttribute, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler) ​

Subscribes data changes on the attribute of the node specified by nodeId.

csharp
public OpcSubscription SubscribeDataChange(
    Guid nodeId,
    OpcAttribute attribute,
    OpcDataChangeFilter filter,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As Guid,
    attribute As OpcAttribute,
    filter As OpcDataChangeFilter,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdGuidThe general unique identifier (= GUID) of the node to subscribe.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
filterOpcDataChangeFilterThe OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(Guid, OpcAttribute, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler) ​

since v2.6

Subscribes data changes on the attribute of the node specified by nodeId.

csharp
public OpcSubscription SubscribeDataChange(
    Guid nodeId,
    OpcAttribute attribute,
    OpcDataChangeTrigger trigger,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As Guid,
    attribute As OpcAttribute,
    trigger As OpcDataChangeTrigger,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdGuidThe general unique identifier (= GUID) of the node to subscribe.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
triggerOpcDataChangeTriggerThe conditions used by the server under which a data change is to be reported.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(int, OpcAttribute, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler) ​

Subscribes data changes on the attribute of the node specified by nodeId.

csharp
public OpcSubscription SubscribeDataChange(
    int nodeId,
    OpcAttribute attribute,
    OpcDataChangeFilter filter,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As Integer,
    attribute As OpcAttribute,
    filter As OpcDataChangeFilter,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdInt32The numeric node identifier of the node to subscribe.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
filterOpcDataChangeFilterThe OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(int, OpcAttribute, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler) ​

since v2.6

Subscribes data changes on the attribute of the node specified by nodeId.

csharp
public OpcSubscription SubscribeDataChange(
    int nodeId,
    OpcAttribute attribute,
    OpcDataChangeTrigger trigger,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As Integer,
    attribute As OpcAttribute,
    trigger As OpcDataChangeTrigger,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdInt32The numeric node identifier of the node to subscribe.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
triggerOpcDataChangeTriggerThe conditions used by the server under which a data change is to be reported.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(uint, OpcAttribute, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler) ​

Subscribes data changes on the attribute of the node specified by nodeId.

csharp
public OpcSubscription SubscribeDataChange(
    uint nodeId,
    OpcAttribute attribute,
    OpcDataChangeFilter filter,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As UInteger,
    attribute As OpcAttribute,
    filter As OpcDataChangeFilter,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdUInt32The numeric node identifier of the node to subscribe.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
filterOpcDataChangeFilterThe OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(uint, OpcAttribute, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler) ​

since v2.6

Subscribes data changes on the attribute of the node specified by nodeId.

csharp
public OpcSubscription SubscribeDataChange(
    uint nodeId,
    OpcAttribute attribute,
    OpcDataChangeTrigger trigger,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As UInteger,
    attribute As OpcAttribute,
    trigger As OpcDataChangeTrigger,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdUInt32The numeric node identifier of the node to subscribe.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
triggerOpcDataChangeTriggerThe conditions used by the server under which a data change is to be reported.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(string, OpcAttribute, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler) ​

Subscribes data changes on the attribute of the node specified by nodeId.

csharp
public OpcSubscription SubscribeDataChange(
    string nodeId,
    OpcAttribute attribute,
    OpcDataChangeFilter filter,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As String,
    attribute As OpcAttribute,
    filter As OpcDataChangeFilter,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdStringThe textual node identifier of the node to subscribe.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
filterOpcDataChangeFilterThe OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(string, OpcAttribute, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler) ​

since v2.6

Subscribes data changes on the attribute of the node specified by nodeId.

csharp
public OpcSubscription SubscribeDataChange(
    string nodeId,
    OpcAttribute attribute,
    OpcDataChangeTrigger trigger,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As String,
    attribute As OpcAttribute,
    trigger As OpcDataChangeTrigger,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdStringThe textual node identifier of the node to subscribe.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
triggerOpcDataChangeTriggerThe conditions used by the server under which a data change is to be reported.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(byte[], int, OpcAttribute, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler) ​

Subscribes data changes on the attribute of the node specified by nodeId and namespaceIndex specified.

csharp
public OpcSubscription SubscribeDataChange(
    byte[] nodeId,
    int namespaceIndex,
    OpcAttribute attribute,
    OpcDataChangeFilter filter,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As Byte(),
    namespaceIndex As Integer,
    attribute As OpcAttribute,
    filter As OpcDataChangeFilter,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdByte[]The opaque node identifier of the node to subscribe.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
filterOpcDataChangeFilterThe OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(byte[], int, OpcAttribute, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler) ​

since v2.6

Subscribes data changes on the attribute of the node specified by nodeId and namespaceIndex specified.

csharp
public OpcSubscription SubscribeDataChange(
    byte[] nodeId,
    int namespaceIndex,
    OpcAttribute attribute,
    OpcDataChangeTrigger trigger,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As Byte(),
    namespaceIndex As Integer,
    attribute As OpcAttribute,
    trigger As OpcDataChangeTrigger,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdByte[]The opaque node identifier of the node to subscribe.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
triggerOpcDataChangeTriggerThe conditions used by the server under which a data change is to be reported.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(Guid, int, OpcAttribute, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler) ​

Subscribes data changes on the attribute of the node specified by nodeId and namespaceIndex specified.

csharp
public OpcSubscription SubscribeDataChange(
    Guid nodeId,
    int namespaceIndex,
    OpcAttribute attribute,
    OpcDataChangeFilter filter,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As Guid,
    namespaceIndex As Integer,
    attribute As OpcAttribute,
    filter As OpcDataChangeFilter,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdGuidThe general unique identifier (= GUID) of the node to subscribe.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
filterOpcDataChangeFilterThe OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(Guid, int, OpcAttribute, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler) ​

since v2.6

Subscribes data changes on the attribute of the node specified by nodeId and namespaceIndex specified.

csharp
public OpcSubscription SubscribeDataChange(
    Guid nodeId,
    int namespaceIndex,
    OpcAttribute attribute,
    OpcDataChangeTrigger trigger,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As Guid,
    namespaceIndex As Integer,
    attribute As OpcAttribute,
    trigger As OpcDataChangeTrigger,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdGuidThe general unique identifier (= GUID) of the node to subscribe.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
triggerOpcDataChangeTriggerThe conditions used by the server under which a data change is to be reported.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(int, int, OpcAttribute, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler) ​

Subscribes data changes on the attribute of the node specified by nodeId and namespaceIndex specified.

csharp
public OpcSubscription SubscribeDataChange(
    int nodeId,
    int namespaceIndex,
    OpcAttribute attribute,
    OpcDataChangeFilter filter,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As Integer,
    namespaceIndex As Integer,
    attribute As OpcAttribute,
    filter As OpcDataChangeFilter,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdInt32The numeric node identifier of the node to subscribe.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
filterOpcDataChangeFilterThe OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(int, int, OpcAttribute, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler) ​

since v2.6

Subscribes data changes on the attribute of the node specified by nodeId and namespaceIndex specified.

csharp
public OpcSubscription SubscribeDataChange(
    int nodeId,
    int namespaceIndex,
    OpcAttribute attribute,
    OpcDataChangeTrigger trigger,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As Integer,
    namespaceIndex As Integer,
    attribute As OpcAttribute,
    trigger As OpcDataChangeTrigger,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdInt32The numeric node identifier of the node to subscribe.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
triggerOpcDataChangeTriggerThe conditions used by the server under which a data change is to be reported.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(uint, int, OpcAttribute, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler) ​

Subscribes data changes on the attribute of the node specified by nodeId and namespaceIndex specified.

csharp
public OpcSubscription SubscribeDataChange(
    uint nodeId,
    int namespaceIndex,
    OpcAttribute attribute,
    OpcDataChangeFilter filter,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As UInteger,
    namespaceIndex As Integer,
    attribute As OpcAttribute,
    filter As OpcDataChangeFilter,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdUInt32The numeric node identifier of the node to subscribe.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
filterOpcDataChangeFilterThe OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(uint, int, OpcAttribute, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler) ​

since v2.6

Subscribes data changes on the attribute of the node specified by nodeId and namespaceIndex specified.

csharp
public OpcSubscription SubscribeDataChange(
    uint nodeId,
    int namespaceIndex,
    OpcAttribute attribute,
    OpcDataChangeTrigger trigger,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As UInteger,
    namespaceIndex As Integer,
    attribute As OpcAttribute,
    trigger As OpcDataChangeTrigger,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdUInt32The numeric node identifier of the node to subscribe.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
triggerOpcDataChangeTriggerThe conditions used by the server under which a data change is to be reported.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(string, int, OpcAttribute, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler) ​

Subscribes data changes on the attribute of the node specified by nodeId and namespaceIndex specified.

csharp
public OpcSubscription SubscribeDataChange(
    string nodeId,
    int namespaceIndex,
    OpcAttribute attribute,
    OpcDataChangeFilter filter,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As String,
    namespaceIndex As Integer,
    attribute As OpcAttribute,
    filter As OpcDataChangeFilter,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdStringThe textual node identifier of the node to subscribe.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
filterOpcDataChangeFilterThe OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(string, int, OpcAttribute, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler) ​

since v2.6

Subscribes data changes on the attribute of the node specified by nodeId and namespaceIndex specified.

csharp
public OpcSubscription SubscribeDataChange(
    string nodeId,
    int namespaceIndex,
    OpcAttribute attribute,
    OpcDataChangeTrigger trigger,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As String,
    namespaceIndex As Integer,
    attribute As OpcAttribute,
    trigger As OpcDataChangeTrigger,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdStringThe textual node identifier of the node to subscribe.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
triggerOpcDataChangeTriggerThe conditions used by the server under which a data change is to be reported.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

SubscribeDataChange(OpcNodeId, OpcDataChangeReceivedEventHandler) ​

Subscribes data changes on the Value attribute of the node specified by nodeId.

csharp
public OpcSubscription SubscribeDataChange(
    OpcNodeId nodeId,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As OpcNodeId,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe OpcNodeId of the node on which the service, who will execute this command, will operate on its Value 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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

Exceptions

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

SubscribeDataChange(OpcNodeId, OpcAttribute, OpcDataChangeReceivedEventHandler) ​

Subscribes data changes on the attribute of the node specified by nodeId.

csharp
public OpcSubscription SubscribeDataChange(
    OpcNodeId nodeId,
    OpcAttribute attribute,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As OpcNodeId,
    attribute As OpcAttribute,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe OpcNodeId of the node on which the service, who will execute this command, will operate on its attribute.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

Exceptions

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

SubscribeDataChange(OpcNodeId, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler) ​

Subscribes data changes on the Value attribute of the node specified by nodeId.

csharp
public OpcSubscription SubscribeDataChange(
    OpcNodeId nodeId,
    OpcDataChangeFilter filter,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As OpcNodeId,
    filter As OpcDataChangeFilter,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe OpcNodeId of the node on which the service, who will execute this command, will operate on its Value attribute.
filterOpcDataChangeFilterThe OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

Exceptions

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

SubscribeDataChange(OpcNodeId, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler) ​

since v2.6

Subscribes data changes on the Value attribute of the node specified by nodeId.

csharp
public OpcSubscription SubscribeDataChange(
    OpcNodeId nodeId,
    OpcDataChangeTrigger trigger,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As OpcNodeId,
    trigger As OpcDataChangeTrigger,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe OpcNodeId of the node on which the service, who will execute this command, will operate on its Value attribute.
triggerOpcDataChangeTriggerThe conditions used by the server under which a data change is to be reported.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

Exceptions

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

SubscribeDataChange(OpcNodeId, OpcAttribute, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler) ​

Subscribes data changes on the attribute of the node specified by nodeId.

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

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe OpcNodeId of the node on which the service, who will execute this command, will operate on its attribute.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
filterOpcDataChangeFilterThe OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

Exceptions

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

SubscribeDataChange(OpcNodeId, OpcAttribute, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler) ​

since v2.6

Subscribes data changes on the attribute of the node specified by nodeId.

csharp
public OpcSubscription SubscribeDataChange(
    OpcNodeId nodeId,
    OpcAttribute attribute,
    OpcDataChangeTrigger trigger,
    OpcDataChangeReceivedEventHandler received)
vbnet
Public Function SubscribeDataChange(
    nodeId As OpcNodeId,
    attribute As OpcAttribute,
    trigger As OpcDataChangeTrigger,
    received As OpcDataChangeReceivedEventHandler) As OpcSubscription

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe OpcNodeId of the node on which the service, who will execute this command, will operate on its attribute.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
triggerOpcDataChangeTriggerThe conditions used by the server under which a data change is to be reported.
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

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.

Exceptions

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