Reference
OpcClient.SubscribeEvent Method
Subscribes events on the node specified by nodeId.
Reference
OpcClient.SubscribeEvent 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 |
|---|---|
| SubscribeEvent( | Subscribes events on the node specified by nodeId. |
| SubscribeEvent( | Subscribes events on the node specified by nodeId. |
| SubscribeEvent( | Subscribes events on the node specified by nodeId. |
| SubscribeEvent( | Subscribes events on the node specified by nodeId. |
| SubscribeEvent( | Subscribes events on the node specified by nodeId. |
| SubscribeEvent( | Subscribes events on the attribute of the node specified by nodeId. |
| SubscribeEvent( | Subscribes events on the attribute of the node specified by nodeId. |
| SubscribeEvent( | Subscribes events on the attribute of the node specified by nodeId. |
| SubscribeEvent( | Subscribes events on the attribute of the node specified by nodeId. |
| SubscribeEvent( | Subscribes events on the attribute of the node specified by nodeId. |
| SubscribeEvent( | Subscribes events on the node specified by nodeId and namespaceIndex specified. |
| SubscribeEvent( | Subscribes events on the node specified by nodeId and namespaceIndex specified. |
| SubscribeEvent( | Subscribes events on the node specified by nodeId and namespaceIndex specified. |
| SubscribeEvent( | Subscribes events on the node specified by nodeId and namespaceIndex specified. |
| SubscribeEvent( | Subscribes events on the node specified by nodeId and namespaceIndex specified. |
| SubscribeEvent( | Subscribes events on the attribute of the node specified by nodeId and namespaceIndex specified to operate on the attribute. |
| SubscribeEvent( | Subscribes events on the attribute of the node specified by nodeId and namespaceIndex specified to operate on the attribute. |
| SubscribeEvent( | Subscribes events on the attribute of the node specified by nodeId and namespaceIndex specified to operate on the attribute. |
| SubscribeEvent( | Subscribes events on the attribute of the node specified by nodeId and namespaceIndex specified to operate on the attribute. |
| SubscribeEvent( | Subscribes events on the attribute of the node specified by nodeId and namespaceIndex specified to operate on the attribute. |
| SubscribeEvent( | Subscribes events on the node specified by nodeId. |
| SubscribeEvent( | Subscribes events on the node specified by nodeId. |
| SubscribeEvent( | Subscribes events on the node specified by nodeId. |
| SubscribeEvent( | Subscribes events on the node specified by nodeId. |
| SubscribeEvent( | Subscribes events on the node specified by nodeId. |
| SubscribeEvent( | Subscribes events on the node specified by nodeId and namespaceIndex specified. |
| SubscribeEvent( | Subscribes events on the node specified by nodeId and namespaceIndex specified. |
| SubscribeEvent( | Subscribes events on the node specified by nodeId and namespaceIndex specified. |
| SubscribeEvent( | Subscribes events on the node specified by nodeId and namespaceIndex specified. |
| SubscribeEvent( | Subscribes events on the node specified by nodeId and namespaceIndex specified. |
| SubscribeEvent( | Subscribes events on the attribute of the node specified by nodeId. |
| SubscribeEvent( | Subscribes events on the attribute of the node specified by nodeId. |
| SubscribeEvent( | Subscribes events on the attribute of the node specified by nodeId. |
| SubscribeEvent( | Subscribes events on the attribute of the node specified by nodeId. |
| SubscribeEvent( | Subscribes events on the attribute of the node specified by nodeId. |
| SubscribeEvent( | Subscribes events on the attribute of the node specified by nodeId and namespaceIndex specified. |
| SubscribeEvent( | Subscribes events on the attribute of the node specified by nodeId and namespaceIndex specified. |
| SubscribeEvent( | Subscribes events on the attribute of the node specified by nodeId and namespaceIndex specified. |
| SubscribeEvent( | Subscribes events on the attribute of the node specified by nodeId and namespaceIndex specified. |
| SubscribeEvent( | Subscribes events on the attribute of the node specified by nodeId and namespaceIndex specified. |
| SubscribeEvent( | Subscribes events on the node specified by nodeId. |
| SubscribeEvent( | Subscribes events on the attribute of the node specified by nodeId. |
| SubscribeEvent( | Subscribes events on the node specified by nodeId. |
| SubscribeEvent( | Subscribes events on the attribute of the node specified by nodeId. |
Exceptions (all overloads)
| Exception | Condition |
|---|---|
| Argument | The nodeId is empty. |
| Invalid | The subscription service is currently not supported, especially using the arguments specified. |
| Object | The object has been disposed of. |
SubscribeEvent(byte[], OpcEventReceivedEventHandler)
Subscribes events on the node specified by nodeId.
public OpcSubscription SubscribeEvent(
byte[] nodeId,
OpcEventReceivedEventHandler received)Public Function SubscribeEvent(
nodeId As Byte(),
received As OpcEventReceivedEventHandler) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | Byte[] | The opaque node identifier of the node to subscribe. |
received | 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 will when monitor events performed on the node identified by the values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, Bad |
SubscribeEvent(Guid, OpcEventReceivedEventHandler)
Subscribes events on the node specified by nodeId.
public OpcSubscription SubscribeEvent(
Guid nodeId,
OpcEventReceivedEventHandler received)Public Function SubscribeEvent(
nodeId As Guid,
received As OpcEventReceivedEventHandler) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | Guid | The general unique identifier ( |
received | 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 will when monitor events performed on the node identified by the values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, Bad |
SubscribeEvent(int, OpcEventReceivedEventHandler)
Subscribes events on the node specified by nodeId.
public OpcSubscription SubscribeEvent(
int nodeId,
OpcEventReceivedEventHandler received)Public Function SubscribeEvent(
nodeId As Integer,
received As OpcEventReceivedEventHandler) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | Int32 | The numeric node identifier of the node to subscribe. |
received | 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 will when monitor events performed on the node identified by the values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, Bad |
SubscribeEvent(uint, OpcEventReceivedEventHandler)
Subscribes events on the node specified by nodeId.
public OpcSubscription SubscribeEvent(
uint nodeId,
OpcEventReceivedEventHandler received)Public Function SubscribeEvent(
nodeId As UInteger,
received As OpcEventReceivedEventHandler) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | UInt32 | The numeric node identifier of the node to subscribe. |
received | 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 will when monitor events performed on the node identified by the values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, Bad |
SubscribeEvent(string, OpcEventReceivedEventHandler)
Subscribes events on the node specified by nodeId.
public OpcSubscription SubscribeEvent(
string nodeId,
OpcEventReceivedEventHandler received)Public Function SubscribeEvent(
nodeId As String,
received As OpcEventReceivedEventHandler) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | String | The textual node identifier of the node to subscribe. |
received | 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 will when monitor events performed on the node identified by the values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, Bad |
SubscribeEvent(byte[], OpcAttribute, OpcEventReceivedEventHandler)
Subscribes events on the attribute of the node specified by nodeId.
public OpcSubscription SubscribeEvent(
byte[] nodeId,
OpcAttribute attribute,
OpcEventReceivedEventHandler received)Public Function SubscribeEvent(
nodeId As Byte(),
attribute As OpcAttribute,
received As OpcEventReceivedEventHandler) 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. |
received | 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 will when monitor events performed on the node identified by the values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, Bad |
SubscribeEvent(Guid, OpcAttribute, OpcEventReceivedEventHandler)
Subscribes events on the attribute of the node specified by nodeId.
public OpcSubscription SubscribeEvent(
Guid nodeId,
OpcAttribute attribute,
OpcEventReceivedEventHandler received)Public Function SubscribeEvent(
nodeId As Guid,
attribute As OpcAttribute,
received As OpcEventReceivedEventHandler) 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. |
received | 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 will when monitor events performed on the node identified by the values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, Bad |
SubscribeEvent(int, OpcAttribute, OpcEventReceivedEventHandler)
Subscribes events on the attribute of the node specified by nodeId.
public OpcSubscription SubscribeEvent(
int nodeId,
OpcAttribute attribute,
OpcEventReceivedEventHandler received)Public Function SubscribeEvent(
nodeId As Integer,
attribute As OpcAttribute,
received As OpcEventReceivedEventHandler) 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. |
received | 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 will when monitor events performed on the node identified by the values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, Bad |
SubscribeEvent(uint, OpcAttribute, OpcEventReceivedEventHandler)
Subscribes events on the attribute of the node specified by nodeId.
public OpcSubscription SubscribeEvent(
uint nodeId,
OpcAttribute attribute,
OpcEventReceivedEventHandler received)Public Function SubscribeEvent(
nodeId As UInteger,
attribute As OpcAttribute,
received As OpcEventReceivedEventHandler) 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. |
received | 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 will when monitor events performed on the node identified by the values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, Bad |
SubscribeEvent(string, OpcAttribute, OpcEventReceivedEventHandler)
Subscribes events on the attribute of the node specified by nodeId.
public OpcSubscription SubscribeEvent(
string nodeId,
OpcAttribute attribute,
OpcEventReceivedEventHandler received)Public Function SubscribeEvent(
nodeId As String,
attribute As OpcAttribute,
received As OpcEventReceivedEventHandler) 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. |
received | 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 will when monitor events performed on the node identified by the values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, Bad |
SubscribeEvent(byte[], int, OpcEventReceivedEventHandler)
Subscribes events on the node specified by nodeId and namespaceIndex specified.
public OpcSubscription SubscribeEvent(
byte[] nodeId,
int namespaceIndex,
OpcEventReceivedEventHandler received)Public Function SubscribeEvent(
nodeId As Byte(),
namespaceIndex As Integer,
received As OpcEventReceivedEventHandler) 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. |
received | 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 will when monitor events performed on the node identified by the values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, Bad |
SubscribeEvent(Guid, int, OpcEventReceivedEventHandler)
Subscribes events on the node specified by nodeId and namespaceIndex specified.
public OpcSubscription SubscribeEvent(
Guid nodeId,
int namespaceIndex,
OpcEventReceivedEventHandler received)Public Function SubscribeEvent(
nodeId As Guid,
namespaceIndex As Integer,
received As OpcEventReceivedEventHandler) 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. |
received | 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 will when monitor events performed on the node identified by the values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, Bad |
SubscribeEvent(int, int, OpcEventReceivedEventHandler)
Subscribes events on the node specified by nodeId and namespaceIndex specified.
public OpcSubscription SubscribeEvent(
int nodeId,
int namespaceIndex,
OpcEventReceivedEventHandler received)Public Function SubscribeEvent(
nodeId As Integer,
namespaceIndex As Integer,
received As OpcEventReceivedEventHandler) 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. |
received | 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 will when monitor events performed on the node identified by the values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, Bad |
SubscribeEvent(uint, int, OpcEventReceivedEventHandler)
Subscribes events on the node specified by nodeId and namespaceIndex specified.
public OpcSubscription SubscribeEvent(
uint nodeId,
int namespaceIndex,
OpcEventReceivedEventHandler received)Public Function SubscribeEvent(
nodeId As UInteger,
namespaceIndex As Integer,
received As OpcEventReceivedEventHandler) 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. |
received | 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 will when monitor events performed on the node identified by the values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, Bad |
SubscribeEvent(string, int, OpcEventReceivedEventHandler)
Subscribes events on the node specified by nodeId and namespaceIndex specified.
public OpcSubscription SubscribeEvent(
string nodeId,
int namespaceIndex,
OpcEventReceivedEventHandler received)Public Function SubscribeEvent(
nodeId As String,
namespaceIndex As Integer,
received As OpcEventReceivedEventHandler) 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. |
received | 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 will when monitor events performed on the node identified by the values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, Bad |
SubscribeEvent(byte[], int, OpcAttribute, OpcEventReceivedEventHandler)
Subscribes events on the attribute of the node specified by nodeId and namespaceIndex specified to operate on the attribute.
public OpcSubscription SubscribeEvent(
byte[] nodeId,
int namespaceIndex,
OpcAttribute attribute,
OpcEventReceivedEventHandler received)Public Function SubscribeEvent(
nodeId As Byte(),
namespaceIndex As Integer,
attribute As OpcAttribute,
received As OpcEventReceivedEventHandler) 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. |
received | 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 will when monitor events performed on the node identified by the values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, Bad |
SubscribeEvent(Guid, int, OpcAttribute, OpcEventReceivedEventHandler)
Subscribes events on the attribute of the node specified by nodeId and namespaceIndex specified to operate on the attribute.
public OpcSubscription SubscribeEvent(
Guid nodeId,
int namespaceIndex,
OpcAttribute attribute,
OpcEventReceivedEventHandler received)Public Function SubscribeEvent(
nodeId As Guid,
namespaceIndex As Integer,
attribute As OpcAttribute,
received As OpcEventReceivedEventHandler) 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. |
received | 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 will when monitor events performed on the node identified by the values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, Bad |
SubscribeEvent(int, int, OpcAttribute, OpcEventReceivedEventHandler)
Subscribes events on the attribute of the node specified by nodeId and namespaceIndex specified to operate on the attribute.
public OpcSubscription SubscribeEvent(
int nodeId,
int namespaceIndex,
OpcAttribute attribute,
OpcEventReceivedEventHandler received)Public Function SubscribeEvent(
nodeId As Integer,
namespaceIndex As Integer,
attribute As OpcAttribute,
received As OpcEventReceivedEventHandler) 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. |
received | 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 will when monitor events performed on the node identified by the values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, Bad |
SubscribeEvent(uint, int, OpcAttribute, OpcEventReceivedEventHandler)
Subscribes events on the attribute of the node specified by nodeId and namespaceIndex specified to operate on the attribute.
public OpcSubscription SubscribeEvent(
uint nodeId,
int namespaceIndex,
OpcAttribute attribute,
OpcEventReceivedEventHandler received)Public Function SubscribeEvent(
nodeId As UInteger,
namespaceIndex As Integer,
attribute As OpcAttribute,
received As OpcEventReceivedEventHandler) 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. |
received | 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 will when monitor events performed on the node identified by the values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, Bad |
SubscribeEvent(string, int, OpcAttribute, OpcEventReceivedEventHandler)
Subscribes events on the attribute of the node specified by nodeId and namespaceIndex specified to operate on the attribute.
public OpcSubscription SubscribeEvent(
string nodeId,
int namespaceIndex,
OpcAttribute attribute,
OpcEventReceivedEventHandler received)Public Function SubscribeEvent(
nodeId As String,
namespaceIndex As Integer,
attribute As OpcAttribute,
received As OpcEventReceivedEventHandler) 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. |
received | 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 will when monitor events performed on the node identified by the values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, Bad |
SubscribeEvent(byte[], OpcEventFilter, OpcEventReceivedEventHandler)
Subscribes events on the node specified by nodeId.
public OpcSubscription SubscribeEvent(
byte[] nodeId,
OpcEventFilter filter,
OpcEventReceivedEventHandler received)Public Function SubscribeEvent(
nodeId As Byte(),
filter As OpcEventFilter,
received As OpcEventReceivedEventHandler) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | Byte[] | The opaque node identifier of the node to subscribe. |
filter | OpcEventFilter | The OpcEventFilter 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. |
received | 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 will when monitor events performed on the node identified by the values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, Bad |
SubscribeEvent(Guid, OpcEventFilter, OpcEventReceivedEventHandler)
Subscribes events on the node specified by nodeId.
public OpcSubscription SubscribeEvent(
Guid nodeId,
OpcEventFilter filter,
OpcEventReceivedEventHandler received)Public Function SubscribeEvent(
nodeId As Guid,
filter As OpcEventFilter,
received As OpcEventReceivedEventHandler) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | Guid | The general unique identifier ( |
filter | OpcEventFilter | The OpcEventFilter 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. |
received | 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 will when monitor events performed on the node identified by the values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, Bad |
SubscribeEvent(int, OpcEventFilter, OpcEventReceivedEventHandler)
Subscribes events on the node specified by nodeId.
public OpcSubscription SubscribeEvent(
int nodeId,
OpcEventFilter filter,
OpcEventReceivedEventHandler received)Public Function SubscribeEvent(
nodeId As Integer,
filter As OpcEventFilter,
received As OpcEventReceivedEventHandler) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | Int32 | The numeric node identifier of the node to subscribe. |
filter | OpcEventFilter | The OpcEventFilter 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. |
received | 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 will when monitor events performed on the node identified by the values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, Bad |
SubscribeEvent(uint, OpcEventFilter, OpcEventReceivedEventHandler)
Subscribes events on the node specified by nodeId.
public OpcSubscription SubscribeEvent(
uint nodeId,
OpcEventFilter filter,
OpcEventReceivedEventHandler received)Public Function SubscribeEvent(
nodeId As UInteger,
filter As OpcEventFilter,
received As OpcEventReceivedEventHandler) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | UInt32 | The numeric node identifier of the node to subscribe. |
filter | OpcEventFilter | The OpcEventFilter 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. |
received | 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 will when monitor events performed on the node identified by the values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, Bad |
SubscribeEvent(string, OpcEventFilter, OpcEventReceivedEventHandler)
Subscribes events on the node specified by nodeId.
public OpcSubscription SubscribeEvent(
string nodeId,
OpcEventFilter filter,
OpcEventReceivedEventHandler received)Public Function SubscribeEvent(
nodeId As String,
filter As OpcEventFilter,
received As OpcEventReceivedEventHandler) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | String | The textual node identifier of the node to subscribe. |
filter | OpcEventFilter | The OpcEventFilter 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. |
received | 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 will when monitor events performed on the node identified by the values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, Bad |
SubscribeEvent(byte[], int, OpcEventFilter, OpcEventReceivedEventHandler)
Subscribes events on the node specified by nodeId and namespaceIndex specified.
public OpcSubscription SubscribeEvent(
byte[] nodeId,
int namespaceIndex,
OpcEventFilter filter,
OpcEventReceivedEventHandler received)Public Function SubscribeEvent(
nodeId As Byte(),
namespaceIndex As Integer,
filter As OpcEventFilter,
received As OpcEventReceivedEventHandler) 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 | OpcEventFilter | The OpcEventFilter 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. |
received | 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 will when monitor events performed on the node identified by the values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, Bad |
SubscribeEvent(Guid, int, OpcEventFilter, OpcEventReceivedEventHandler)
Subscribes events on the node specified by nodeId and namespaceIndex specified.
public OpcSubscription SubscribeEvent(
Guid nodeId,
int namespaceIndex,
OpcEventFilter filter,
OpcEventReceivedEventHandler received)Public Function SubscribeEvent(
nodeId As Guid,
namespaceIndex As Integer,
filter As OpcEventFilter,
received As OpcEventReceivedEventHandler) 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 | OpcEventFilter | The OpcEventFilter 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. |
received | 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 will when monitor events performed on the node identified by the values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, Bad |
SubscribeEvent(int, int, OpcEventFilter, OpcEventReceivedEventHandler)
Subscribes events on the node specified by nodeId and namespaceIndex specified.
public OpcSubscription SubscribeEvent(
int nodeId,
int namespaceIndex,
OpcEventFilter filter,
OpcEventReceivedEventHandler received)Public Function SubscribeEvent(
nodeId As Integer,
namespaceIndex As Integer,
filter As OpcEventFilter,
received As OpcEventReceivedEventHandler) 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 | OpcEventFilter | The OpcEventFilter 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. |
received | 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 will when monitor events performed on the node identified by the values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, Bad |
SubscribeEvent(uint, int, OpcEventFilter, OpcEventReceivedEventHandler)
Subscribes events on the node specified by nodeId and namespaceIndex specified.
public OpcSubscription SubscribeEvent(
uint nodeId,
int namespaceIndex,
OpcEventFilter filter,
OpcEventReceivedEventHandler received)Public Function SubscribeEvent(
nodeId As UInteger,
namespaceIndex As Integer,
filter As OpcEventFilter,
received As OpcEventReceivedEventHandler) 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 | OpcEventFilter | The OpcEventFilter 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. |
received | 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 will when monitor events performed on the node identified by the values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, Bad |
SubscribeEvent(string, int, OpcEventFilter, OpcEventReceivedEventHandler)
Subscribes events on the node specified by nodeId and namespaceIndex specified.
public OpcSubscription SubscribeEvent(
string nodeId,
int namespaceIndex,
OpcEventFilter filter,
OpcEventReceivedEventHandler received)Public Function SubscribeEvent(
nodeId As String,
namespaceIndex As Integer,
filter As OpcEventFilter,
received As OpcEventReceivedEventHandler) 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 | OpcEventFilter | The OpcEventFilter 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. |
received | 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 will when monitor events performed on the node identified by the values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, Bad |
SubscribeEvent(byte[], OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)
Subscribes events on the attribute of the node specified by nodeId.
public OpcSubscription SubscribeEvent(
byte[] nodeId,
OpcAttribute attribute,
OpcEventFilter filter,
OpcEventReceivedEventHandler received)Public Function SubscribeEvent(
nodeId As Byte(),
attribute As OpcAttribute,
filter As OpcEventFilter,
received As OpcEventReceivedEventHandler) 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 | OpcEventFilter | The OpcEventFilter 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. |
received | 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 will when monitor events performed on the node identified by the values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, Bad |
SubscribeEvent(Guid, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)
Subscribes events on the attribute of the node specified by nodeId.
public OpcSubscription SubscribeEvent(
Guid nodeId,
OpcAttribute attribute,
OpcEventFilter filter,
OpcEventReceivedEventHandler received)Public Function SubscribeEvent(
nodeId As Guid,
attribute As OpcAttribute,
filter As OpcEventFilter,
received As OpcEventReceivedEventHandler) 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 | OpcEventFilter | The OpcEventFilter 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. |
received | 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 will when monitor events performed on the node identified by the values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, Bad |
SubscribeEvent(int, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)
Subscribes events on the attribute of the node specified by nodeId.
public OpcSubscription SubscribeEvent(
int nodeId,
OpcAttribute attribute,
OpcEventFilter filter,
OpcEventReceivedEventHandler received)Public Function SubscribeEvent(
nodeId As Integer,
attribute As OpcAttribute,
filter As OpcEventFilter,
received As OpcEventReceivedEventHandler) 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 | OpcEventFilter | The OpcEventFilter 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. |
received | 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 will when monitor events performed on the node identified by the values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, Bad |
SubscribeEvent(uint, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)
Subscribes events on the attribute of the node specified by nodeId.
public OpcSubscription SubscribeEvent(
uint nodeId,
OpcAttribute attribute,
OpcEventFilter filter,
OpcEventReceivedEventHandler received)Public Function SubscribeEvent(
nodeId As UInteger,
attribute As OpcAttribute,
filter As OpcEventFilter,
received As OpcEventReceivedEventHandler) 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 | OpcEventFilter | The OpcEventFilter 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. |
received | 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 will when monitor events performed on the node identified by the values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, Bad |
SubscribeEvent(string, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)
Subscribes events on the attribute of the node specified by nodeId.
public OpcSubscription SubscribeEvent(
string nodeId,
OpcAttribute attribute,
OpcEventFilter filter,
OpcEventReceivedEventHandler received)Public Function SubscribeEvent(
nodeId As String,
attribute As OpcAttribute,
filter As OpcEventFilter,
received As OpcEventReceivedEventHandler) 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 | OpcEventFilter | The OpcEventFilter 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. |
received | 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 will when monitor events performed on the node identified by the values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, Bad |
SubscribeEvent(byte[], int, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)
Subscribes events on the attribute of the node specified by nodeId and namespaceIndex specified.
public OpcSubscription SubscribeEvent(
byte[] nodeId,
int namespaceIndex,
OpcAttribute attribute,
OpcEventFilter filter,
OpcEventReceivedEventHandler received)Public Function SubscribeEvent(
nodeId As Byte(),
namespaceIndex As Integer,
attribute As OpcAttribute,
filter As OpcEventFilter,
received As OpcEventReceivedEventHandler) 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 | OpcEventFilter | The OpcEventFilter 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. |
received | 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 will when monitor events performed on the node identified by the values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, Bad |
SubscribeEvent(Guid, int, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)
Subscribes events on the attribute of the node specified by nodeId and namespaceIndex specified.
public OpcSubscription SubscribeEvent(
Guid nodeId,
int namespaceIndex,
OpcAttribute attribute,
OpcEventFilter filter,
OpcEventReceivedEventHandler received)Public Function SubscribeEvent(
nodeId As Guid,
namespaceIndex As Integer,
attribute As OpcAttribute,
filter As OpcEventFilter,
received As OpcEventReceivedEventHandler) 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 | OpcEventFilter | The OpcEventFilter 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. |
received | 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 will when monitor events performed on the node identified by the values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, Bad |
SubscribeEvent(int, int, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)
Subscribes events on the attribute of the node specified by nodeId and namespaceIndex specified.
public OpcSubscription SubscribeEvent(
int nodeId,
int namespaceIndex,
OpcAttribute attribute,
OpcEventFilter filter,
OpcEventReceivedEventHandler received)Public Function SubscribeEvent(
nodeId As Integer,
namespaceIndex As Integer,
attribute As OpcAttribute,
filter As OpcEventFilter,
received As OpcEventReceivedEventHandler) 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 | OpcEventFilter | The OpcEventFilter 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. |
received | 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 will when monitor events performed on the node identified by the values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, Bad |
SubscribeEvent(uint, int, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)
Subscribes events on the attribute of the node specified by nodeId and namespaceIndex specified.
public OpcSubscription SubscribeEvent(
uint nodeId,
int namespaceIndex,
OpcAttribute attribute,
OpcEventFilter filter,
OpcEventReceivedEventHandler received)Public Function SubscribeEvent(
nodeId As UInteger,
namespaceIndex As Integer,
attribute As OpcAttribute,
filter As OpcEventFilter,
received As OpcEventReceivedEventHandler) 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 | OpcEventFilter | The OpcEventFilter 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. |
received | 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 will when monitor events performed on the node identified by the values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, Bad |
SubscribeEvent(string, int, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)
Subscribes events on the attribute of the node specified by nodeId and namespaceIndex specified.
public OpcSubscription SubscribeEvent(
string nodeId,
int namespaceIndex,
OpcAttribute attribute,
OpcEventFilter filter,
OpcEventReceivedEventHandler received)Public Function SubscribeEvent(
nodeId As String,
namespaceIndex As Integer,
attribute As OpcAttribute,
filter As OpcEventFilter,
received As OpcEventReceivedEventHandler) 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 | OpcEventFilter | The OpcEventFilter 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. |
received | 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 will when monitor events performed on the node identified by the values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, Bad |
SubscribeEvent(OpcNodeId, OpcEventReceivedEventHandler)
Subscribes events on the node specified by nodeId.
public OpcSubscription SubscribeEvent(
OpcNodeId nodeId,
OpcEventReceivedEventHandler received)Public Function SubscribeEvent(
nodeId As OpcNodeId,
received As OpcEventReceivedEventHandler) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | OpcNodeId | The OpcNodeId of the node on which the service, who will execute this command. |
received | 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 will when monitor events performed on the node identified by the values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is a null reference ( |
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, Bad |
SubscribeEvent(OpcNodeId, OpcAttribute, OpcEventReceivedEventHandler)
Subscribes events on the attribute of the node specified by nodeId.
public OpcSubscription SubscribeEvent(
OpcNodeId nodeId,
OpcAttribute attribute,
OpcEventReceivedEventHandler received)Public Function SubscribeEvent(
nodeId As OpcNodeId,
attribute As OpcAttribute,
received As OpcEventReceivedEventHandler) 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. |
received | 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 will when monitor events performed on the node identified by the values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is a null reference ( |
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, Bad |
SubscribeEvent(OpcNodeId, OpcEventFilter, OpcEventReceivedEventHandler)
Subscribes events on the node specified by nodeId.
public OpcSubscription SubscribeEvent(
OpcNodeId nodeId,
OpcEventFilter filter,
OpcEventReceivedEventHandler received)Public Function SubscribeEvent(
nodeId As OpcNodeId,
filter As OpcEventFilter,
received As OpcEventReceivedEventHandler) As OpcSubscriptionParameters
| Name | Type | Description |
|---|---|---|
nodeId | OpcNodeId | The OpcNodeId of the node on which the service, who will execute this command. |
filter | OpcEventFilter | The OpcEventFilter 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. |
received | 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 will when monitor events performed on the node identified by the values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is a null reference ( |
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, Bad |
SubscribeEvent(OpcNodeId, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)
Subscribes events on the attribute of the node specified by nodeId.
public OpcSubscription SubscribeEvent(
OpcNodeId nodeId,
OpcAttribute attribute,
OpcEventFilter filter,
OpcEventReceivedEventHandler received)Public Function SubscribeEvent(
nodeId As OpcNodeId,
attribute As OpcAttribute,
filter As OpcEventFilter,
received As OpcEventReceivedEventHandler) 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 | OpcEventFilter | The OpcEventFilter 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. |
received | 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 will when monitor events performed on the node identified by the values passed to this method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is a null reference ( |
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, Bad |

