Reference
OpcClient.SubscribeNode Method
Subscribes the Value attribute of the node specified by nodeId.
Reference
OpcClient.SubscribeNode 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
| Overload | Description |
|---|---|
| SubscribeNode( | Subscribes the Value attribute of the node specified by nodeId. |
| SubscribeNode( | Subscribes the Value attribute of the node specified by nodeId. |
| SubscribeNode( | Subscribes the Value attribute of the node specified by nodeId. |
| SubscribeNode( | Subscribes the Value attribute of the node specified by nodeId. |
| SubscribeNode( | Subscribes the Value attribute of the node specified by nodeId. |
| SubscribeNode( | Subscribes the attribute of the node specified by nodeId. |
| SubscribeNode( | Subscribes the attribute of the node specified by nodeId. |
| SubscribeNode( | Subscribes the attribute of the node specified by nodeId. |
| SubscribeNode( | Subscribes the attribute of the node specified by nodeId. |
| SubscribeNode( | Subscribes the attribute of the node specified by nodeId. |
| SubscribeNode( | Subscribes the Value attribute of the node specified by nodeId and namespaceIndex specified to operate on the Value attribute. |
| SubscribeNode( | Subscribes the Value attribute of the node specified by nodeId and namespaceIndex specified to operate on the Value attribute. |
| SubscribeNode( | Subscribes the Value attribute of the node specified by nodeId and namespaceIndex specified to operate on the Value attribute. |
| SubscribeNode( | Subscribes the Value attribute of the node specified by nodeId and namespaceIndex specified to operate on the Value attribute. |
| SubscribeNode( | Subscribes the Value attribute of the node specified by nodeId and namespaceIndex specified to operate on the Value attribute. |
| SubscribeNode( | Subscribes the attribute of the node specified by nodeId and namespaceIndex specified to operate on the attribute. |
| SubscribeNode( | Subscribes the attribute of the node specified by nodeId and namespaceIndex specified to operate on the attribute. |
| SubscribeNode( | Subscribes the attribute of the node specified by nodeId and namespaceIndex specified to operate on the attribute. |
| SubscribeNode( | Subscribes the attribute of the node specified by nodeId and namespaceIndex specified to operate on the attribute. |
| SubscribeNode( | Subscribes the attribute of the node specified by nodeId and namespaceIndex specified to operate on the attribute. |
| SubscribeNode( | Subscribes the Value attribute of the node specified by nodeId. |
| SubscribeNode( | Subscribes the Value attribute of the node specified by nodeId. |
| SubscribeNode( | Subscribes the Value attribute of the node specified by nodeId. |
| SubscribeNode( | Subscribes the Value attribute of the node specified by nodeId. |
| SubscribeNode( | Subscribes the Value attribute of the node specified by nodeId. |
| SubscribeNode( | Subscribes the Value attribute of the node specified by nodeId and namespaceIndex specified. |
| SubscribeNode( | Subscribes the Value attribute of the node specified by nodeId and namespaceIndex specified. |
| SubscribeNode( | Subscribes the Value attribute of the node specified by nodeId and namespaceIndex specified. |
| SubscribeNode( | Subscribes the Value attribute of the node specified by nodeId and namespaceIndex specified. |
| SubscribeNode( | Subscribes the Value attribute of the node specified by nodeId and namespaceIndex specified. |
| SubscribeNode( | Subscribes the attribute of the node specified by nodeId. |
| SubscribeNode( | Subscribes the attribute of the node specified by nodeId. |
| SubscribeNode( | Subscribes the attribute of the node specified by nodeId. |
| SubscribeNode( | Subscribes the attribute of the node specified by nodeId. |
| SubscribeNode( | Subscribes the attribute of the node specified by nodeId. |
| SubscribeNode( | Subscribes the attribute of the node specified by nodeId and namespaceIndex specified. |
| SubscribeNode( | Subscribes the attribute of the node specified by nodeId and namespaceIndex specified. |
| SubscribeNode( | Subscribes the attribute of the node specified by nodeId and namespaceIndex specified. |
| SubscribeNode( | Subscribes the attribute of the node specified by nodeId and namespaceIndex specified. |
| SubscribeNode( | Subscribes the attribute of the node specified by nodeId and namespaceIndex specified. |
| SubscribeNode( | Subscribes the Value attribute of the node specified by nodeId. |
| SubscribeNode( | Subscribes the attribute of the node specified by nodeId. |
| SubscribeNode( | Subscribes the Value attribute of the node specified by nodeId. |
| SubscribeNode( | Subscribes the attribute of the node specified by nodeId. |
| SubscribeNode( | Creates a OpcSubscription using the OpcMonitoredItem setup defined by the command specified. |
Exceptions (all overloads)
| Exception | Condition |
|---|---|
| Invalid | The subscription service is currently not supported, especially using the arguments specified. |
| Object | The object has been disposed of. |
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, Bad |
SubscribeNode(byte[])
Subscribes the Value attribute of the node specified by nodeId.
public OpcSubscription SubscribeNode(byte[] nodeId)Public Function SubscribeNode(nodeId As Byte()) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | Byte[] | The opaque node identifier of the node to subscribe. |
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is empty. |
SubscribeNode(Guid)
Subscribes the Value attribute of the node specified by nodeId.
public OpcSubscription SubscribeNode(Guid nodeId)Public Function SubscribeNode(nodeId As Guid) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | Guid | The general unique identifier ( |
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is empty. |
SubscribeNode(int)
Subscribes the Value attribute of the node specified by nodeId.
public OpcSubscription SubscribeNode(int nodeId)Public Function SubscribeNode(nodeId As Integer) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | Int32 | The numeric node identifier of the node to subscribe. |
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is empty. |
SubscribeNode(uint)
Subscribes the Value attribute of the node specified by nodeId.
public OpcSubscription SubscribeNode(uint nodeId)Public Function SubscribeNode(nodeId As UInteger) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | UInt32 | The numeric node identifier of the node to subscribe. |
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is empty. |
SubscribeNode(string)
Subscribes the Value attribute of the node specified by nodeId.
public OpcSubscription SubscribeNode(string nodeId)Public Function SubscribeNode(nodeId As String) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | String | The textual node identifier of the node to subscribe. |
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is empty. |
SubscribeNode(byte[], OpcAttribute)
Subscribes the attribute of the node specified by nodeId.
public OpcSubscription SubscribeNode(byte[] nodeId, OpcAttribute attribute)Public Function SubscribeNode(
nodeId As Byte(),
attribute As OpcAttribute) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | Byte[] | The opaque node identifier of the node to subscribe. |
attribute | OpcAttribute | One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription. |
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is empty. |
SubscribeNode(Guid, OpcAttribute)
Subscribes the attribute of the node specified by nodeId.
public OpcSubscription SubscribeNode(Guid nodeId, OpcAttribute attribute)Public Function SubscribeNode(
nodeId As Guid,
attribute As OpcAttribute) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | Guid | The general unique identifier ( |
attribute | OpcAttribute | One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription. |
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is empty. |
SubscribeNode(int, OpcAttribute)
Subscribes the attribute of the node specified by nodeId.
public OpcSubscription SubscribeNode(int nodeId, OpcAttribute attribute)Public Function SubscribeNode(
nodeId As Integer,
attribute As OpcAttribute) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | Int32 | The numeric node identifier of the node to subscribe. |
attribute | OpcAttribute | One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription. |
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is empty. |
SubscribeNode(uint, OpcAttribute)
Subscribes the attribute of the node specified by nodeId.
public OpcSubscription SubscribeNode(uint nodeId, OpcAttribute attribute)Public Function SubscribeNode(
nodeId As UInteger,
attribute As OpcAttribute) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | UInt32 | The numeric node identifier of the node to subscribe. |
attribute | OpcAttribute | One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription. |
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is empty. |
SubscribeNode(string, OpcAttribute)
Subscribes the attribute of the node specified by nodeId.
public OpcSubscription SubscribeNode(string nodeId, OpcAttribute attribute)Public Function SubscribeNode(
nodeId As String,
attribute As OpcAttribute) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | String | The textual node identifier of the node to subscribe. |
attribute | OpcAttribute | One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription. |
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is empty. |
SubscribeNode(byte[], int)
Subscribes the Value attribute of the node specified by nodeId and namespaceIndex specified to operate on the Value attribute.
public OpcSubscription SubscribeNode(byte[] nodeId, int namespaceIndex)Public Function SubscribeNode(
nodeId As Byte(),
namespaceIndex As Integer) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | Byte[] | The opaque node identifier of the node to subscribe. |
namespaceIndex | Int32 | The index of the namespace within that the node with the nodeId specified can be located. |
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is empty. |
SubscribeNode(Guid, int)
Subscribes the Value attribute of the node specified by nodeId and namespaceIndex specified to operate on the Value attribute.
public OpcSubscription SubscribeNode(Guid nodeId, int namespaceIndex)Public Function SubscribeNode(
nodeId As Guid,
namespaceIndex As Integer) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | Guid | The general unique identifier ( |
namespaceIndex | Int32 | The index of the namespace within that the node with the nodeId specified can be located. |
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is empty. |
SubscribeNode(int, int)
Subscribes the Value attribute of the node specified by nodeId and namespaceIndex specified to operate on the Value attribute.
public OpcSubscription SubscribeNode(int nodeId, int namespaceIndex)Public Function SubscribeNode(
nodeId As Integer,
namespaceIndex As Integer) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | Int32 | The numeric node identifier of the node to subscribe. |
namespaceIndex | Int32 | The index of the namespace within that the node with the nodeId specified can be located. |
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is empty. |
SubscribeNode(uint, int)
Subscribes the Value attribute of the node specified by nodeId and namespaceIndex specified to operate on the Value attribute.
public OpcSubscription SubscribeNode(uint nodeId, int namespaceIndex)Public Function SubscribeNode(
nodeId As UInteger,
namespaceIndex As Integer) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | UInt32 | The numeric node identifier of the node to subscribe. |
namespaceIndex | Int32 | The index of the namespace within that the node with the nodeId specified can be located. |
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is empty. |
SubscribeNode(string, int)
Subscribes the Value attribute of the node specified by nodeId and namespaceIndex specified to operate on the Value attribute.
public OpcSubscription SubscribeNode(string nodeId, int namespaceIndex)Public Function SubscribeNode(
nodeId As String,
namespaceIndex As Integer) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | String | The textual node identifier of the node to subscribe. |
namespaceIndex | Int32 | The index of the namespace within that the node with the nodeId specified can be located. |
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is empty. |
SubscribeNode(byte[], int, OpcAttribute)
Subscribes the attribute of the node specified by nodeId and namespaceIndex specified to operate on the attribute.
public OpcSubscription SubscribeNode(
byte[] nodeId,
int namespaceIndex,
OpcAttribute attribute)Public Function SubscribeNode(
nodeId As Byte(),
namespaceIndex As Integer,
attribute As OpcAttribute) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | Byte[] | The opaque node identifier of the node to subscribe. |
namespaceIndex | Int32 | The index of the namespace within that the node with the nodeId specified can be located. |
attribute | OpcAttribute | One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription. |
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is empty. |
SubscribeNode(Guid, int, OpcAttribute)
Subscribes the attribute of the node specified by nodeId and namespaceIndex specified to operate on the attribute.
public OpcSubscription SubscribeNode(
Guid nodeId,
int namespaceIndex,
OpcAttribute attribute)Public Function SubscribeNode(
nodeId As Guid,
namespaceIndex As Integer,
attribute As OpcAttribute) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | Guid | The general unique identifier ( |
namespaceIndex | Int32 | The index of the namespace within that the node with the nodeId specified can be located. |
attribute | OpcAttribute | One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription. |
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is empty. |
SubscribeNode(int, int, OpcAttribute)
Subscribes the attribute of the node specified by nodeId and namespaceIndex specified to operate on the attribute.
public OpcSubscription SubscribeNode(
int nodeId,
int namespaceIndex,
OpcAttribute attribute)Public Function SubscribeNode(
nodeId As Integer,
namespaceIndex As Integer,
attribute As OpcAttribute) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | Int32 | The numeric node identifier of the node to subscribe. |
namespaceIndex | Int32 | The index of the namespace within that the node with the nodeId specified can be located. |
attribute | OpcAttribute | One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription. |
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is empty. |
SubscribeNode(uint, int, OpcAttribute)
Subscribes the attribute of the node specified by nodeId and namespaceIndex specified to operate on the attribute.
public OpcSubscription SubscribeNode(
uint nodeId,
int namespaceIndex,
OpcAttribute attribute)Public Function SubscribeNode(
nodeId As UInteger,
namespaceIndex As Integer,
attribute As OpcAttribute) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | UInt32 | The numeric node identifier of the node to subscribe. |
namespaceIndex | Int32 | The index of the namespace within that the node with the nodeId specified can be located. |
attribute | OpcAttribute | One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription. |
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is empty. |
SubscribeNode(string, int, OpcAttribute)
Subscribes the attribute of the node specified by nodeId and namespaceIndex specified to operate on the attribute.
public OpcSubscription SubscribeNode(
string nodeId,
int namespaceIndex,
OpcAttribute attribute)Public Function SubscribeNode(
nodeId As String,
namespaceIndex As Integer,
attribute As OpcAttribute) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | String | The textual node identifier of the node to subscribe. |
namespaceIndex | Int32 | The index of the namespace within that the node with the nodeId specified can be located. |
attribute | OpcAttribute | One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription. |
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is empty. |
SubscribeNode(byte[], OpcMonitoringFilter)
Subscribes the Value attribute of the node specified by nodeId.
public OpcSubscription SubscribeNode(byte[] nodeId, OpcMonitoringFilter filter)Public Function SubscribeNode(
nodeId As Byte(),
filter As OpcMonitoringFilter) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | Byte[] | The opaque node identifier of the node to subscribe. |
filter | Opc | The Opc |
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is empty. |
SubscribeNode(Guid, OpcMonitoringFilter)
Subscribes the Value attribute of the node specified by nodeId.
public OpcSubscription SubscribeNode(Guid nodeId, OpcMonitoringFilter filter)Public Function SubscribeNode(
nodeId As Guid,
filter As OpcMonitoringFilter) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | Guid | The general unique identifier ( |
filter | Opc | The Opc |
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is empty. |
SubscribeNode(int, OpcMonitoringFilter)
Subscribes the Value attribute of the node specified by nodeId.
public OpcSubscription SubscribeNode(int nodeId, OpcMonitoringFilter filter)Public Function SubscribeNode(
nodeId As Integer,
filter As OpcMonitoringFilter) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | Int32 | The numeric node identifier of the node to subscribe. |
filter | Opc | The Opc |
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is empty. |
SubscribeNode(uint, OpcMonitoringFilter)
Subscribes the Value attribute of the node specified by nodeId.
public OpcSubscription SubscribeNode(uint nodeId, OpcMonitoringFilter filter)Public Function SubscribeNode(
nodeId As UInteger,
filter As OpcMonitoringFilter) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | UInt32 | The numeric node identifier of the node to subscribe. |
filter | Opc | The Opc |
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is empty. |
SubscribeNode(string, OpcMonitoringFilter)
Subscribes the Value attribute of the node specified by nodeId.
public OpcSubscription SubscribeNode(string nodeId, OpcMonitoringFilter filter)Public Function SubscribeNode(
nodeId As String,
filter As OpcMonitoringFilter) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | String | The textual node identifier of the node to subscribe. |
filter | Opc | The Opc |
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is empty. |
SubscribeNode(byte[], int, OpcMonitoringFilter)
Subscribes the Value attribute of the node specified by nodeId and namespaceIndex specified.
public OpcSubscription SubscribeNode(
byte[] nodeId,
int namespaceIndex,
OpcMonitoringFilter filter)Public Function SubscribeNode(
nodeId As Byte(),
namespaceIndex As Integer,
filter As OpcMonitoringFilter) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | Byte[] | The opaque node identifier of the node to subscribe. |
namespaceIndex | Int32 | The index of the namespace within that the node with the nodeId specified can be located. |
filter | Opc | The Opc |
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is empty. |
SubscribeNode(Guid, int, OpcMonitoringFilter)
Subscribes the Value attribute of the node specified by nodeId and namespaceIndex specified.
public OpcSubscription SubscribeNode(
Guid nodeId,
int namespaceIndex,
OpcMonitoringFilter filter)Public Function SubscribeNode(
nodeId As Guid,
namespaceIndex As Integer,
filter As OpcMonitoringFilter) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | Guid | The general unique identifier ( |
namespaceIndex | Int32 | The index of the namespace within that the node with the nodeId specified can be located. |
filter | Opc | The Opc |
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is empty. |
SubscribeNode(int, int, OpcMonitoringFilter)
Subscribes the Value attribute of the node specified by nodeId and namespaceIndex specified.
public OpcSubscription SubscribeNode(
int nodeId,
int namespaceIndex,
OpcMonitoringFilter filter)Public Function SubscribeNode(
nodeId As Integer,
namespaceIndex As Integer,
filter As OpcMonitoringFilter) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | Int32 | The numeric node identifier of the node to subscribe. |
namespaceIndex | Int32 | The index of the namespace within that the node with the nodeId specified can be located. |
filter | Opc | The Opc |
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is empty. |
SubscribeNode(uint, int, OpcMonitoringFilter)
Subscribes the Value attribute of the node specified by nodeId and namespaceIndex specified.
public OpcSubscription SubscribeNode(
uint nodeId,
int namespaceIndex,
OpcMonitoringFilter filter)Public Function SubscribeNode(
nodeId As UInteger,
namespaceIndex As Integer,
filter As OpcMonitoringFilter) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | UInt32 | The numeric node identifier of the node to subscribe. |
namespaceIndex | Int32 | The index of the namespace within that the node with the nodeId specified can be located. |
filter | Opc | The Opc |
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is empty. |
SubscribeNode(string, int, OpcMonitoringFilter)
Subscribes the Value attribute of the node specified by nodeId and namespaceIndex specified.
public OpcSubscription SubscribeNode(
string nodeId,
int namespaceIndex,
OpcMonitoringFilter filter)Public Function SubscribeNode(
nodeId As String,
namespaceIndex As Integer,
filter As OpcMonitoringFilter) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | String | The textual node identifier of the node to subscribe. |
namespaceIndex | Int32 | The index of the namespace within that the node with the nodeId specified can be located. |
filter | Opc | The Opc |
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is empty. |
SubscribeNode(byte[], OpcAttribute, OpcMonitoringFilter)
Subscribes the attribute of the node specified by nodeId.
public OpcSubscription SubscribeNode(
byte[] nodeId,
OpcAttribute attribute,
OpcMonitoringFilter filter)Public Function SubscribeNode(
nodeId As Byte(),
attribute As OpcAttribute,
filter As OpcMonitoringFilter) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | Byte[] | The opaque node identifier of the node to subscribe. |
attribute | OpcAttribute | One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription. |
filter | Opc | The Opc |
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is empty. |
SubscribeNode(Guid, OpcAttribute, OpcMonitoringFilter)
Subscribes the attribute of the node specified by nodeId.
public OpcSubscription SubscribeNode(
Guid nodeId,
OpcAttribute attribute,
OpcMonitoringFilter filter)Public Function SubscribeNode(
nodeId As Guid,
attribute As OpcAttribute,
filter As OpcMonitoringFilter) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | Guid | The general unique identifier ( |
attribute | OpcAttribute | One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription. |
filter | Opc | The Opc |
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is empty. |
SubscribeNode(int, OpcAttribute, OpcMonitoringFilter)
Subscribes the attribute of the node specified by nodeId.
public OpcSubscription SubscribeNode(
int nodeId,
OpcAttribute attribute,
OpcMonitoringFilter filter)Public Function SubscribeNode(
nodeId As Integer,
attribute As OpcAttribute,
filter As OpcMonitoringFilter) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | Int32 | The numeric node identifier of the node to subscribe. |
attribute | OpcAttribute | One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription. |
filter | Opc | The Opc |
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is empty. |
SubscribeNode(uint, OpcAttribute, OpcMonitoringFilter)
Subscribes the attribute of the node specified by nodeId.
public OpcSubscription SubscribeNode(
uint nodeId,
OpcAttribute attribute,
OpcMonitoringFilter filter)Public Function SubscribeNode(
nodeId As UInteger,
attribute As OpcAttribute,
filter As OpcMonitoringFilter) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | UInt32 | The numeric node identifier of the node to subscribe. |
attribute | OpcAttribute | One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription. |
filter | Opc | The Opc |
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is empty. |
SubscribeNode(string, OpcAttribute, OpcMonitoringFilter)
Subscribes the attribute of the node specified by nodeId.
public OpcSubscription SubscribeNode(
string nodeId,
OpcAttribute attribute,
OpcMonitoringFilter filter)Public Function SubscribeNode(
nodeId As String,
attribute As OpcAttribute,
filter As OpcMonitoringFilter) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | String | The textual node identifier of the node to subscribe. |
attribute | OpcAttribute | One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription. |
filter | Opc | The Opc |
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is empty. |
SubscribeNode(byte[], int, OpcAttribute, OpcMonitoringFilter)
Subscribes the attribute of the node specified by nodeId and namespaceIndex specified.
public OpcSubscription SubscribeNode(
byte[] nodeId,
int namespaceIndex,
OpcAttribute attribute,
OpcMonitoringFilter filter)Public Function SubscribeNode(
nodeId As Byte(),
namespaceIndex As Integer,
attribute As OpcAttribute,
filter As OpcMonitoringFilter) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | Byte[] | The opaque node identifier of the node to subscribe. |
namespaceIndex | Int32 | The index of the namespace within that the node with the nodeId specified can be located. |
attribute | OpcAttribute | One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription. |
filter | Opc | The Opc |
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is empty. |
SubscribeNode(Guid, int, OpcAttribute, OpcMonitoringFilter)
Subscribes the attribute of the node specified by nodeId and namespaceIndex specified.
public OpcSubscription SubscribeNode(
Guid nodeId,
int namespaceIndex,
OpcAttribute attribute,
OpcMonitoringFilter filter)Public Function SubscribeNode(
nodeId As Guid,
namespaceIndex As Integer,
attribute As OpcAttribute,
filter As OpcMonitoringFilter) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | Guid | The general unique identifier ( |
namespaceIndex | Int32 | The index of the namespace within that the node with the nodeId specified can be located. |
attribute | OpcAttribute | One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription. |
filter | Opc | The Opc |
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is empty. |
SubscribeNode(int, int, OpcAttribute, OpcMonitoringFilter)
Subscribes the attribute of the node specified by nodeId and namespaceIndex specified.
public OpcSubscription SubscribeNode(
int nodeId,
int namespaceIndex,
OpcAttribute attribute,
OpcMonitoringFilter filter)Public Function SubscribeNode(
nodeId As Integer,
namespaceIndex As Integer,
attribute As OpcAttribute,
filter As OpcMonitoringFilter) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | Int32 | The numeric node identifier of the node to subscribe. |
namespaceIndex | Int32 | The index of the namespace within that the node with the nodeId specified can be located. |
attribute | OpcAttribute | One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription. |
filter | Opc | The Opc |
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is empty. |
SubscribeNode(uint, int, OpcAttribute, OpcMonitoringFilter)
Subscribes the attribute of the node specified by nodeId and namespaceIndex specified.
public OpcSubscription SubscribeNode(
uint nodeId,
int namespaceIndex,
OpcAttribute attribute,
OpcMonitoringFilter filter)Public Function SubscribeNode(
nodeId As UInteger,
namespaceIndex As Integer,
attribute As OpcAttribute,
filter As OpcMonitoringFilter) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | UInt32 | The numeric node identifier of the node to subscribe. |
namespaceIndex | Int32 | The index of the namespace within that the node with the nodeId specified can be located. |
attribute | OpcAttribute | One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription. |
filter | Opc | The Opc |
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is empty. |
SubscribeNode(string, int, OpcAttribute, OpcMonitoringFilter)
Subscribes the attribute of the node specified by nodeId and namespaceIndex specified.
public OpcSubscription SubscribeNode(
string nodeId,
int namespaceIndex,
OpcAttribute attribute,
OpcMonitoringFilter filter)Public Function SubscribeNode(
nodeId As String,
namespaceIndex As Integer,
attribute As OpcAttribute,
filter As OpcMonitoringFilter) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | String | The textual node identifier of the node to subscribe. |
namespaceIndex | Int32 | The index of the namespace within that the node with the nodeId specified can be located. |
attribute | OpcAttribute | One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription. |
filter | Opc | The Opc |
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is empty. |
SubscribeNode(OpcNodeId)
Subscribes the Value attribute of the node specified by nodeId.
public OpcSubscription SubscribeNode(OpcNodeId nodeId)Public Function SubscribeNode(nodeId As OpcNodeId) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | OpcNodeId | The OpcNodeId of the node on which the service, who will execute this command, will operate on its Value attribute. |
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is empty. |
| Argument | The nodeId is a null reference ( |
SubscribeNode(OpcNodeId, OpcAttribute)
Subscribes the attribute of the node specified by nodeId.
public OpcSubscription SubscribeNode(OpcNodeId nodeId, OpcAttribute attribute)Public Function SubscribeNode(
nodeId As OpcNodeId,
attribute As OpcAttribute) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | OpcNodeId | The OpcNodeId of the node on which the service, who will execute this command, will operate on its attribute. |
attribute | OpcAttribute | One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription. |
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is empty. |
| Argument | The nodeId is a null reference ( |
SubscribeNode(OpcNodeId, OpcMonitoringFilter)
Subscribes the Value attribute of the node specified by nodeId.
public OpcSubscription SubscribeNode(
OpcNodeId nodeId,
OpcMonitoringFilter filter)Public Function SubscribeNode(
nodeId As OpcNodeId,
filter As OpcMonitoringFilter) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | OpcNodeId | The OpcNodeId of the node on which the service, who will execute this command, will operate on its Value attribute. |
filter | Opc | The Opc |
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is empty. |
| Argument | The nodeId is a null reference ( |
SubscribeNode(OpcNodeId, OpcAttribute, OpcMonitoringFilter)
Subscribes the attribute of the node specified by nodeId.
public OpcSubscription SubscribeNode(
OpcNodeId nodeId,
OpcAttribute attribute,
OpcMonitoringFilter filter)Public Function SubscribeNode(
nodeId As OpcNodeId,
attribute As OpcAttribute,
filter As OpcMonitoringFilter) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | OpcNodeId | The OpcNodeId of the node on which the service, who will execute this command, will operate on its attribute. |
attribute | OpcAttribute | One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription. |
filter | Opc | The Opc |
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is empty. |
| Argument | The nodeId is a null reference ( |
SubscribeNode(OpcSubscribeNode)
Creates a OpcSubscription using the OpcMonitoredItem setup defined by the command specified.
public OpcSubscription SubscribeNode(OpcSubscribeNode command)Public Function SubscribeNode(command As OpcSubscribeNode) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
command | OpcSubscribeNode | A OpcSubscribeNode command which is used to define the OpcMonitoredItem used by the OpcSubscription created. |
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to the command.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The command is a null reference ( |

