Skip to content

Reference

OpcSubscribeEvent Members

Represents a single OPC UA service command which addresses the 'CreateSubscription' service to define a single monitored item to monitor events through a subscription using the setup represented.

Reference

OpcSubscribeEvent Members ​

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

Inherits members from OpcSubscribeNode, OpcNodeAttributeServiceCommand, OpcNodeServiceCommand, OpcServiceCommand.

Constructors ​

OpcSubscribeEvent ​

44 overloads

OverloadDescription
OpcSubscribeEvent(byte[], OpcEventReceivedEventHandler)Initializes a new instance of the OpcSubscribeEvent class using the nodeId specified to operate on the EventNotifier attribute.
OpcSubscribeEvent(Guid, OpcEventReceivedEventHandler)Initializes a new instance of the OpcSubscribeEvent class using the nodeId specified to operate on the EventNotifier attribute.
OpcSubscribeEvent(int, OpcEventReceivedEventHandler)Initializes a new instance of the OpcSubscribeEvent class using the nodeId specified to operate on the EventNotifier attribute.
OpcSubscribeEvent(uint, OpcEventReceivedEventHandler)Initializes a new instance of the OpcSubscribeEvent class using the nodeId specified to operate on the EventNotifier attribute.
OpcSubscribeEvent(string, OpcEventReceivedEventHandler)Initializes a new instance of the OpcSubscribeEvent class using the nodeId specified to operate on the EventNotifier attribute.
OpcSubscribeEvent(byte[], OpcAttribute, OpcEventReceivedEventHandler)Initializes a new instance of the OpcSubscribeEvent class using the nodeId specified to operate on the attribute defined.
OpcSubscribeEvent(Guid, OpcAttribute, OpcEventReceivedEventHandler)Initializes a new instance of the OpcSubscribeEvent class using the nodeId specified to operate on the attribute defined.
OpcSubscribeEvent(int, OpcAttribute, OpcEventReceivedEventHandler)Initializes a new instance of the OpcSubscribeEvent class using the nodeId specified to operate on the attribute defined.
OpcSubscribeEvent(uint, OpcAttribute, OpcEventReceivedEventHandler)Initializes a new instance of the OpcSubscribeEvent class using the nodeId specified to operate on the attribute defined.
OpcSubscribeEvent(string, OpcAttribute, OpcEventReceivedEventHandler)Initializes a new instance of the OpcSubscribeEvent class using the nodeId specified to operate on the attribute defined.
OpcSubscribeEvent(byte[], int, OpcEventReceivedEventHandler)Initializes a new instance of the OpcSubscribeEvent class using the nodeId and namespaceIndex specified to operate on the EventNotifier attribute.
OpcSubscribeEvent(Guid, int, OpcEventReceivedEventHandler)Initializes a new instance of the OpcSubscribeEvent class using the nodeId and namespaceIndex specified to operate on the EventNotifier attribute.
OpcSubscribeEvent(int, int, OpcEventReceivedEventHandler)Initializes a new instance of the OpcSubscribeEvent class using the nodeId and namespaceIndex specified to operate on the EventNotifier attribute.
OpcSubscribeEvent(uint, int, OpcEventReceivedEventHandler)Initializes a new instance of the OpcSubscribeEvent class using the nodeId and namespaceIndex specified to operate on the EventNotifier attribute.
OpcSubscribeEvent(string, int, OpcEventReceivedEventHandler)Initializes a new instance of the OpcSubscribeEvent class using the nodeId and namespaceIndex specified to operate on the EventNotifier attribute.
OpcSubscribeEvent(byte[], int, OpcAttribute, OpcEventReceivedEventHandler)Initializes a new instance of the OpcSubscribeEvent class using the nodeId and namespaceIndex specified to operate on the attribute.
OpcSubscribeEvent(Guid, int, OpcAttribute, OpcEventReceivedEventHandler)Initializes a new instance of the OpcSubscribeEvent class using the nodeId and namespaceIndex specified to operate on the attribute.
OpcSubscribeEvent(int, int, OpcAttribute, OpcEventReceivedEventHandler)Initializes a new instance of the OpcSubscribeEvent class using the nodeId and namespaceIndex specified to operate on the attribute.
OpcSubscribeEvent(uint, int, OpcAttribute, OpcEventReceivedEventHandler)Initializes a new instance of the OpcSubscribeEvent class using the nodeId and namespaceIndex specified to operate on the attribute.
OpcSubscribeEvent(string, int, OpcAttribute, OpcEventReceivedEventHandler)Initializes a new instance of the OpcSubscribeEvent class using the nodeId and namespaceIndex specified to operate on the attribute.
OpcSubscribeEvent(byte[], OpcEventFilter, OpcEventReceivedEventHandler)Initializes a new instance of the OpcSubscribeEvent class using the nodeId specified to operate on the EventNotifier attribute.
OpcSubscribeEvent(Guid, OpcEventFilter, OpcEventReceivedEventHandler)Initializes a new instance of the OpcSubscribeEvent class using the nodeId specified to operate on the EventNotifier attribute.
OpcSubscribeEvent(int, OpcEventFilter, OpcEventReceivedEventHandler)Initializes a new instance of the OpcSubscribeEvent class using the nodeId specified to operate on the EventNotifier attribute.
OpcSubscribeEvent(uint, OpcEventFilter, OpcEventReceivedEventHandler)Initializes a new instance of the OpcSubscribeEvent class using the nodeId specified to operate on the EventNotifier attribute.
OpcSubscribeEvent(string, OpcEventFilter, OpcEventReceivedEventHandler)Initializes a new instance of the OpcSubscribeEvent class using the nodeId specified to operate on the EventNotifier attribute.
OpcSubscribeEvent(byte[], OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)Initializes a new instance of the OpcSubscribeEvent class using the nodeId specified to operate on the attribute defined.
OpcSubscribeEvent(Guid, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)Initializes a new instance of the OpcSubscribeEvent class using the nodeId specified to operate on the attribute defined.
OpcSubscribeEvent(int, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)Initializes a new instance of the OpcSubscribeEvent class using the nodeId specified to operate on the attribute defined.
OpcSubscribeEvent(uint, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)Initializes a new instance of the OpcSubscribeEvent class using the nodeId specified to operate on the attribute defined.
OpcSubscribeEvent(string, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)Initializes a new instance of the OpcSubscribeEvent class using the nodeId specified to operate on the attribute defined.
OpcSubscribeEvent(byte[], int, OpcEventFilter, OpcEventReceivedEventHandler)Initializes a new instance of the OpcSubscribeEvent class using the nodeId and namespaceIndex specified to operate on the EventNotifier attribute.
OpcSubscribeEvent(Guid, int, OpcEventFilter, OpcEventReceivedEventHandler)Initializes a new instance of the OpcSubscribeEvent class using the nodeId and namespaceIndex specified to operate on the EventNotifier attribute.
OpcSubscribeEvent(int, int, OpcEventFilter, OpcEventReceivedEventHandler)Initializes a new instance of the OpcSubscribeEvent class using the nodeId and namespaceIndex specified to operate on the EventNotifier attribute.
OpcSubscribeEvent(uint, int, OpcEventFilter, OpcEventReceivedEventHandler)Initializes a new instance of the OpcSubscribeEvent class using the nodeId and namespaceIndex specified to operate on the EventNotifier attribute.
OpcSubscribeEvent(string, int, OpcEventFilter, OpcEventReceivedEventHandler)Initializes a new instance of the OpcSubscribeEvent class using the nodeId and namespaceIndex specified to operate on the EventNotifier attribute.
OpcSubscribeEvent(byte[], int, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)Initializes a new instance of the OpcSubscribeEvent class using the nodeId and namespaceIndex specified to operate on the attribute.
OpcSubscribeEvent(Guid, int, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)Initializes a new instance of the OpcSubscribeEvent class using the nodeId and namespaceIndex specified to operate on the attribute.
OpcSubscribeEvent(int, int, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)Initializes a new instance of the OpcSubscribeEvent class using the nodeId and namespaceIndex specified to operate on the attribute.
OpcSubscribeEvent(uint, int, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)Initializes a new instance of the OpcSubscribeEvent class using the nodeId and namespaceIndex specified to operate on the attribute.
OpcSubscribeEvent(string, int, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)Initializes a new instance of the OpcSubscribeEvent class using the nodeId and namespaceIndex specified to operate on the attribute.
OpcSubscribeEvent(OpcNodeId, OpcEventReceivedEventHandler)Initializes a new instance of the OpcSubscribeEvent class using the nodeId specified to operate on the EventNotifier attribute.
OpcSubscribeEvent(OpcNodeId, OpcAttribute, OpcEventReceivedEventHandler)Initializes a new instance of the OpcSubscribeEvent class using the nodeId specified to operate on the attribute defined.
OpcSubscribeEvent(OpcNodeId, OpcEventFilter, OpcEventReceivedEventHandler)Initializes a new instance of the OpcSubscribeEvent class using the nodeId specified to operate on the EventNotifier attribute.
OpcSubscribeEvent(OpcNodeId, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)Initializes a new instance of the OpcSubscribeEvent class using the nodeId specified to operate on the attribute defined.

Exceptions (all overloads)

ExceptionCondition
ArgumentExceptionThe command does not support empty node identifiers.

OpcSubscribeEvent(byte[], OpcEventReceivedEventHandler) ​

Initializes a new instance of the OpcSubscribeEvent class using the nodeId specified to operate on the EventNotifier attribute.

csharp
public OpcSubscribeEvent(byte[] nodeId, OpcEventReceivedEventHandler received)
vbnet
Public Sub New(nodeId As Byte(), received As OpcEventReceivedEventHandler)

Parameters

NameTypeDescription
nodeIdByte[]The opaque node identifier of the node on which the service, who will execute this command, will operate on its EventNotifier attribute.
receivedOpcEventReceivedEventHandlerThe OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

OpcSubscribeEvent(Guid, OpcEventReceivedEventHandler) ​

Initializes a new instance of the OpcSubscribeEvent class using the nodeId specified to operate on the EventNotifier attribute.

csharp
public OpcSubscribeEvent(Guid nodeId, OpcEventReceivedEventHandler received)
vbnet
Public Sub New(nodeId As Guid, received As OpcEventReceivedEventHandler)

Parameters

NameTypeDescription
nodeIdGuidThe general unique identifier (= GUID) of the node on which the service, who will execute this command, will operate on its EventNotifier attribute.
receivedOpcEventReceivedEventHandlerThe OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

OpcSubscribeEvent(int, OpcEventReceivedEventHandler) ​

Initializes a new instance of the OpcSubscribeEvent class using the nodeId specified to operate on the EventNotifier attribute.

csharp
public OpcSubscribeEvent(int nodeId, OpcEventReceivedEventHandler received)
vbnet
Public Sub New(nodeId As Integer, received As OpcEventReceivedEventHandler)

Parameters

NameTypeDescription
nodeIdInt32The numeric node identifier of the node on which the service, who will execute this command, will operate on its EventNotifier attribute.
receivedOpcEventReceivedEventHandlerThe OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

OpcSubscribeEvent(uint, OpcEventReceivedEventHandler) ​

Initializes a new instance of the OpcSubscribeEvent class using the nodeId specified to operate on the EventNotifier attribute.

csharp
public OpcSubscribeEvent(uint nodeId, OpcEventReceivedEventHandler received)
vbnet
Public Sub New(nodeId As UInteger, received As OpcEventReceivedEventHandler)

Parameters

NameTypeDescription
nodeIdUInt32The numeric node identifier of the node on which the service, who will execute this command, will operate on its EventNotifier attribute.
receivedOpcEventReceivedEventHandlerThe OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

OpcSubscribeEvent(string, OpcEventReceivedEventHandler) ​

Initializes a new instance of the OpcSubscribeEvent class using the nodeId specified to operate on the EventNotifier attribute.

csharp
public OpcSubscribeEvent(string nodeId, OpcEventReceivedEventHandler received)
vbnet
Public Sub New(nodeId As String, received As OpcEventReceivedEventHandler)

Parameters

NameTypeDescription
nodeIdStringThe textual node identifier of the node on which the service, who will execute this command, will operate on its EventNotifier attribute.
receivedOpcEventReceivedEventHandlerThe OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

OpcSubscribeEvent(byte[], OpcAttribute, OpcEventReceivedEventHandler) ​

Initializes a new instance of the OpcSubscribeEvent class using the nodeId specified to operate on the attribute defined.

csharp
public OpcSubscribeEvent(
    byte[] nodeId,
    OpcAttribute attribute,
    OpcEventReceivedEventHandler received)
vbnet
Public Sub New(
    nodeId As Byte(),
    attribute As OpcAttribute,
    received As OpcEventReceivedEventHandler)

Parameters

NameTypeDescription
nodeIdByte[]The opaque node identifier of the node on which the service, who will execute this command, will operate on its attribute.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.
receivedOpcEventReceivedEventHandlerThe OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

OpcSubscribeEvent(Guid, OpcAttribute, OpcEventReceivedEventHandler) ​

Initializes a new instance of the OpcSubscribeEvent class using the nodeId specified to operate on the attribute defined.

csharp
public OpcSubscribeEvent(
    Guid nodeId,
    OpcAttribute attribute,
    OpcEventReceivedEventHandler received)
vbnet
Public Sub New(
    nodeId As Guid,
    attribute As OpcAttribute,
    received As OpcEventReceivedEventHandler)

Parameters

NameTypeDescription
nodeIdGuidThe general unique identifier (= GUID) of the node on which the service, who will execute this command, will operate on its attribute.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.
receivedOpcEventReceivedEventHandlerThe OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

OpcSubscribeEvent(int, OpcAttribute, OpcEventReceivedEventHandler) ​

Initializes a new instance of the OpcSubscribeEvent class using the nodeId specified to operate on the attribute defined.

csharp
public OpcSubscribeEvent(
    int nodeId,
    OpcAttribute attribute,
    OpcEventReceivedEventHandler received)
vbnet
Public Sub New(
    nodeId As Integer,
    attribute As OpcAttribute,
    received As OpcEventReceivedEventHandler)

Parameters

NameTypeDescription
nodeIdInt32The numeric node identifier of the node on which the service, who will execute this command, will operate on its attribute.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.
receivedOpcEventReceivedEventHandlerThe OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

OpcSubscribeEvent(uint, OpcAttribute, OpcEventReceivedEventHandler) ​

Initializes a new instance of the OpcSubscribeEvent class using the nodeId specified to operate on the attribute defined.

csharp
public OpcSubscribeEvent(
    uint nodeId,
    OpcAttribute attribute,
    OpcEventReceivedEventHandler received)
vbnet
Public Sub New(
    nodeId As UInteger,
    attribute As OpcAttribute,
    received As OpcEventReceivedEventHandler)

Parameters

NameTypeDescription
nodeIdUInt32The numeric node identifier of the node on which the service, who will execute this command, will operate on its attribute.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.
receivedOpcEventReceivedEventHandlerThe OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

OpcSubscribeEvent(string, OpcAttribute, OpcEventReceivedEventHandler) ​

Initializes a new instance of the OpcSubscribeEvent class using the nodeId specified to operate on the attribute defined.

csharp
public OpcSubscribeEvent(
    string nodeId,
    OpcAttribute attribute,
    OpcEventReceivedEventHandler received)
vbnet
Public Sub New(
    nodeId As String,
    attribute As OpcAttribute,
    received As OpcEventReceivedEventHandler)

Parameters

NameTypeDescription
nodeIdStringThe textual node identifier of the node on which the service, who will execute this command, will operate on its attribute.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.
receivedOpcEventReceivedEventHandlerThe OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

OpcSubscribeEvent(byte[], int, OpcEventReceivedEventHandler) ​

Initializes a new instance of the OpcSubscribeEvent class using the nodeId and namespaceIndex specified to operate on the EventNotifier attribute.

csharp
public OpcSubscribeEvent(
    byte[] nodeId,
    int namespaceIndex,
    OpcEventReceivedEventHandler received)
vbnet
Public Sub New(
    nodeId As Byte(),
    namespaceIndex As Integer,
    received As OpcEventReceivedEventHandler)

Parameters

NameTypeDescription
nodeIdByte[]The opaque node identifier of the node on which the service, who will execute this command, will operate on its EventNotifier attribute.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
receivedOpcEventReceivedEventHandlerThe OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

OpcSubscribeEvent(Guid, int, OpcEventReceivedEventHandler) ​

Initializes a new instance of the OpcSubscribeEvent class using the nodeId and namespaceIndex specified to operate on the EventNotifier attribute.

csharp
public OpcSubscribeEvent(
    Guid nodeId,
    int namespaceIndex,
    OpcEventReceivedEventHandler received)
vbnet
Public Sub New(
    nodeId As Guid,
    namespaceIndex As Integer,
    received As OpcEventReceivedEventHandler)

Parameters

NameTypeDescription
nodeIdGuidThe general unique identifier (= GUID) of the node on which the service, who will execute this command, will operate on its EventNotifier attribute.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
receivedOpcEventReceivedEventHandlerThe OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

OpcSubscribeEvent(int, int, OpcEventReceivedEventHandler) ​

Initializes a new instance of the OpcSubscribeEvent class using the nodeId and namespaceIndex specified to operate on the EventNotifier attribute.

csharp
public OpcSubscribeEvent(
    int nodeId,
    int namespaceIndex,
    OpcEventReceivedEventHandler received)
vbnet
Public Sub New(
    nodeId As Integer,
    namespaceIndex As Integer,
    received As OpcEventReceivedEventHandler)

Parameters

NameTypeDescription
nodeIdInt32The numeric node identifier of the node on which the service, who will execute this command, will operate on its EventNotifier attribute.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
receivedOpcEventReceivedEventHandlerThe OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

OpcSubscribeEvent(uint, int, OpcEventReceivedEventHandler) ​

Initializes a new instance of the OpcSubscribeEvent class using the nodeId and namespaceIndex specified to operate on the EventNotifier attribute.

csharp
public OpcSubscribeEvent(
    uint nodeId,
    int namespaceIndex,
    OpcEventReceivedEventHandler received)
vbnet
Public Sub New(
    nodeId As UInteger,
    namespaceIndex As Integer,
    received As OpcEventReceivedEventHandler)

Parameters

NameTypeDescription
nodeIdUInt32The numeric node identifier of the node on which the service, who will execute this command, will operate on its EventNotifier attribute.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
receivedOpcEventReceivedEventHandlerThe OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

OpcSubscribeEvent(string, int, OpcEventReceivedEventHandler) ​

Initializes a new instance of the OpcSubscribeEvent class using the nodeId and namespaceIndex specified to operate on the EventNotifier attribute.

csharp
public OpcSubscribeEvent(
    string nodeId,
    int namespaceIndex,
    OpcEventReceivedEventHandler received)
vbnet
Public Sub New(
    nodeId As String,
    namespaceIndex As Integer,
    received As OpcEventReceivedEventHandler)

Parameters

NameTypeDescription
nodeIdStringThe textual node identifier of the node on which the service, who will execute this command, will operate on its EventNotifier attribute.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
receivedOpcEventReceivedEventHandlerThe OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

OpcSubscribeEvent(byte[], int, OpcAttribute, OpcEventReceivedEventHandler) ​

Initializes a new instance of the OpcSubscribeEvent class using the nodeId and namespaceIndex specified to operate on the attribute.

csharp
public OpcSubscribeEvent(
    byte[] nodeId,
    int namespaceIndex,
    OpcAttribute attribute,
    OpcEventReceivedEventHandler received)
vbnet
Public Sub New(
    nodeId As Byte(),
    namespaceIndex As Integer,
    attribute As OpcAttribute,
    received As OpcEventReceivedEventHandler)

Parameters

NameTypeDescription
nodeIdByte[]The opaque node identifier of the node on which the service, who will execute this command, will operate on its attribute.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.
receivedOpcEventReceivedEventHandlerThe OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

OpcSubscribeEvent(Guid, int, OpcAttribute, OpcEventReceivedEventHandler) ​

Initializes a new instance of the OpcSubscribeEvent class using the nodeId and namespaceIndex specified to operate on the attribute.

csharp
public OpcSubscribeEvent(
    Guid nodeId,
    int namespaceIndex,
    OpcAttribute attribute,
    OpcEventReceivedEventHandler received)
vbnet
Public Sub New(
    nodeId As Guid,
    namespaceIndex As Integer,
    attribute As OpcAttribute,
    received As OpcEventReceivedEventHandler)

Parameters

NameTypeDescription
nodeIdGuidThe general unique identifier (= GUID) of the node on which the service, who will execute this command, will operate on its attribute.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.
receivedOpcEventReceivedEventHandlerThe OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

OpcSubscribeEvent(int, int, OpcAttribute, OpcEventReceivedEventHandler) ​

Initializes a new instance of the OpcSubscribeEvent class using the nodeId and namespaceIndex specified to operate on the attribute.

csharp
public OpcSubscribeEvent(
    int nodeId,
    int namespaceIndex,
    OpcAttribute attribute,
    OpcEventReceivedEventHandler received)
vbnet
Public Sub New(
    nodeId As Integer,
    namespaceIndex As Integer,
    attribute As OpcAttribute,
    received As OpcEventReceivedEventHandler)

Parameters

NameTypeDescription
nodeIdInt32The numeric node identifier of the node on which the service, who will execute this command, will operate on its attribute.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.
receivedOpcEventReceivedEventHandlerThe OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

OpcSubscribeEvent(uint, int, OpcAttribute, OpcEventReceivedEventHandler) ​

Initializes a new instance of the OpcSubscribeEvent class using the nodeId and namespaceIndex specified to operate on the attribute.

csharp
public OpcSubscribeEvent(
    uint nodeId,
    int namespaceIndex,
    OpcAttribute attribute,
    OpcEventReceivedEventHandler received)
vbnet
Public Sub New(
    nodeId As UInteger,
    namespaceIndex As Integer,
    attribute As OpcAttribute,
    received As OpcEventReceivedEventHandler)

Parameters

NameTypeDescription
nodeIdUInt32The numeric node identifier of the node on which the service, who will execute this command, will operate on its attribute.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.
receivedOpcEventReceivedEventHandlerThe OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

OpcSubscribeEvent(string, int, OpcAttribute, OpcEventReceivedEventHandler) ​

Initializes a new instance of the OpcSubscribeEvent class using the nodeId and namespaceIndex specified to operate on the attribute.

csharp
public OpcSubscribeEvent(
    string nodeId,
    int namespaceIndex,
    OpcAttribute attribute,
    OpcEventReceivedEventHandler received)
vbnet
Public Sub New(
    nodeId As String,
    namespaceIndex As Integer,
    attribute As OpcAttribute,
    received As OpcEventReceivedEventHandler)

Parameters

NameTypeDescription
nodeIdStringThe textual node identifier of the node on which the service, who will execute this command, will operate on its attribute.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.
receivedOpcEventReceivedEventHandlerThe OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

OpcSubscribeEvent(byte[], OpcEventFilter, OpcEventReceivedEventHandler) ​

Initializes a new instance of the OpcSubscribeEvent class using the nodeId specified to operate on the EventNotifier attribute.

csharp
public OpcSubscribeEvent(
    byte[] nodeId,
    OpcEventFilter filter,
    OpcEventReceivedEventHandler received)
vbnet
Public Sub New(
    nodeId As Byte(),
    filter As OpcEventFilter,
    received As OpcEventReceivedEventHandler)

Parameters

NameTypeDescription
nodeIdByte[]The opaque node identifier of the node on which the service, who will execute this command, will operate on its EventNotifier attribute.
filterOpcEventFilterThe OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the event data before it is reported to the client, which owns the monitored item described by the OpcSubscribeEvent command.
receivedOpcEventReceivedEventHandlerThe OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

OpcSubscribeEvent(Guid, OpcEventFilter, OpcEventReceivedEventHandler) ​

Initializes a new instance of the OpcSubscribeEvent class using the nodeId specified to operate on the EventNotifier attribute.

csharp
public OpcSubscribeEvent(
    Guid nodeId,
    OpcEventFilter filter,
    OpcEventReceivedEventHandler received)
vbnet
Public Sub New(
    nodeId As Guid,
    filter As OpcEventFilter,
    received As OpcEventReceivedEventHandler)

Parameters

NameTypeDescription
nodeIdGuidThe general unique identifier (= GUID) of the node on which the service, who will execute this command, will operate on its EventNotifier attribute.
filterOpcEventFilterThe OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the event data before it is reported to the client, which owns the monitored item described by the OpcSubscribeEvent command.
receivedOpcEventReceivedEventHandlerThe OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

OpcSubscribeEvent(int, OpcEventFilter, OpcEventReceivedEventHandler) ​

Initializes a new instance of the OpcSubscribeEvent class using the nodeId specified to operate on the EventNotifier attribute.

csharp
public OpcSubscribeEvent(
    int nodeId,
    OpcEventFilter filter,
    OpcEventReceivedEventHandler received)
vbnet
Public Sub New(
    nodeId As Integer,
    filter As OpcEventFilter,
    received As OpcEventReceivedEventHandler)

Parameters

NameTypeDescription
nodeIdInt32The numeric node identifier of the node on which the service, who will execute this command, will operate on its EventNotifier attribute.
filterOpcEventFilterThe OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the event data before it is reported to the client, which owns the monitored item described by the OpcSubscribeEvent command.
receivedOpcEventReceivedEventHandlerThe OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

OpcSubscribeEvent(uint, OpcEventFilter, OpcEventReceivedEventHandler) ​

Initializes a new instance of the OpcSubscribeEvent class using the nodeId specified to operate on the EventNotifier attribute.

csharp
public OpcSubscribeEvent(
    uint nodeId,
    OpcEventFilter filter,
    OpcEventReceivedEventHandler received)
vbnet
Public Sub New(
    nodeId As UInteger,
    filter As OpcEventFilter,
    received As OpcEventReceivedEventHandler)

Parameters

NameTypeDescription
nodeIdUInt32The numeric node identifier of the node on which the service, who will execute this command, will operate on its EventNotifier attribute.
filterOpcEventFilterThe OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the event data before it is reported to the client, which owns the monitored item described by the OpcSubscribeEvent command.
receivedOpcEventReceivedEventHandlerThe OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

OpcSubscribeEvent(string, OpcEventFilter, OpcEventReceivedEventHandler) ​

Initializes a new instance of the OpcSubscribeEvent class using the nodeId specified to operate on the EventNotifier attribute.

csharp
public OpcSubscribeEvent(
    string nodeId,
    OpcEventFilter filter,
    OpcEventReceivedEventHandler received)
vbnet
Public Sub New(
    nodeId As String,
    filter As OpcEventFilter,
    received As OpcEventReceivedEventHandler)

Parameters

NameTypeDescription
nodeIdStringThe textual node identifier of the node on which the service, who will execute this command, will operate on its EventNotifier attribute.
filterOpcEventFilterThe OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the event data before it is reported to the client, which owns the monitored item described by the OpcSubscribeEvent command.
receivedOpcEventReceivedEventHandlerThe OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

OpcSubscribeEvent(byte[], OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler) ​

Initializes a new instance of the OpcSubscribeEvent class using the nodeId specified to operate on the attribute defined.

csharp
public OpcSubscribeEvent(
    byte[] nodeId,
    OpcAttribute attribute,
    OpcEventFilter filter,
    OpcEventReceivedEventHandler received)
vbnet
Public Sub New(
    nodeId As Byte(),
    attribute As OpcAttribute,
    filter As OpcEventFilter,
    received As OpcEventReceivedEventHandler)

Parameters

NameTypeDescription
nodeIdByte[]The opaque node identifier of the node on which the service, who will execute this command, will operate on its attribute.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.
filterOpcEventFilterThe OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the event data before it is reported to the client, which owns the monitored item described by the OpcSubscribeEvent command.
receivedOpcEventReceivedEventHandlerThe OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

OpcSubscribeEvent(Guid, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler) ​

Initializes a new instance of the OpcSubscribeEvent class using the nodeId specified to operate on the attribute defined.

csharp
public OpcSubscribeEvent(
    Guid nodeId,
    OpcAttribute attribute,
    OpcEventFilter filter,
    OpcEventReceivedEventHandler received)
vbnet
Public Sub New(
    nodeId As Guid,
    attribute As OpcAttribute,
    filter As OpcEventFilter,
    received As OpcEventReceivedEventHandler)

Parameters

NameTypeDescription
nodeIdGuidThe general unique identifier (= GUID) of the node on which the service, who will execute this command, will operate on its attribute.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.
filterOpcEventFilterThe OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the event data before it is reported to the client, which owns the monitored item described by the OpcSubscribeEvent command.
receivedOpcEventReceivedEventHandlerThe OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

OpcSubscribeEvent(int, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler) ​

Initializes a new instance of the OpcSubscribeEvent class using the nodeId specified to operate on the attribute defined.

csharp
public OpcSubscribeEvent(
    int nodeId,
    OpcAttribute attribute,
    OpcEventFilter filter,
    OpcEventReceivedEventHandler received)
vbnet
Public Sub New(
    nodeId As Integer,
    attribute As OpcAttribute,
    filter As OpcEventFilter,
    received As OpcEventReceivedEventHandler)

Parameters

NameTypeDescription
nodeIdInt32The numeric node identifier of the node on which the service, who will execute this command, will operate on its attribute.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.
filterOpcEventFilterThe OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the event data before it is reported to the client, which owns the monitored item described by the OpcSubscribeEvent command.
receivedOpcEventReceivedEventHandlerThe OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

OpcSubscribeEvent(uint, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler) ​

Initializes a new instance of the OpcSubscribeEvent class using the nodeId specified to operate on the attribute defined.

csharp
public OpcSubscribeEvent(
    uint nodeId,
    OpcAttribute attribute,
    OpcEventFilter filter,
    OpcEventReceivedEventHandler received)
vbnet
Public Sub New(
    nodeId As UInteger,
    attribute As OpcAttribute,
    filter As OpcEventFilter,
    received As OpcEventReceivedEventHandler)

Parameters

NameTypeDescription
nodeIdUInt32The numeric node identifier of the node on which the service, who will execute this command, will operate on its attribute.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.
filterOpcEventFilterThe OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the event data before it is reported to the client, which owns the monitored item described by the OpcSubscribeEvent command.
receivedOpcEventReceivedEventHandlerThe OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

OpcSubscribeEvent(string, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler) ​

Initializes a new instance of the OpcSubscribeEvent class using the nodeId specified to operate on the attribute defined.

csharp
public OpcSubscribeEvent(
    string nodeId,
    OpcAttribute attribute,
    OpcEventFilter filter,
    OpcEventReceivedEventHandler received)
vbnet
Public Sub New(
    nodeId As String,
    attribute As OpcAttribute,
    filter As OpcEventFilter,
    received As OpcEventReceivedEventHandler)

Parameters

NameTypeDescription
nodeIdStringThe textual node identifier of the node on which the service, who will execute this command, will operate on its attribute.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.
filterOpcEventFilterThe OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the event data before it is reported to the client, which owns the monitored item described by the OpcSubscribeEvent command.
receivedOpcEventReceivedEventHandlerThe OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

OpcSubscribeEvent(byte[], int, OpcEventFilter, OpcEventReceivedEventHandler) ​

Initializes a new instance of the OpcSubscribeEvent class using the nodeId and namespaceIndex specified to operate on the EventNotifier attribute.

csharp
public OpcSubscribeEvent(
    byte[] nodeId,
    int namespaceIndex,
    OpcEventFilter filter,
    OpcEventReceivedEventHandler received)
vbnet
Public Sub New(
    nodeId As Byte(),
    namespaceIndex As Integer,
    filter As OpcEventFilter,
    received As OpcEventReceivedEventHandler)

Parameters

NameTypeDescription
nodeIdByte[]The opaque node identifier of the node on which the service, who will execute this command, will operate on its EventNotifier attribute.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
filterOpcEventFilterThe OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the event data before it is reported to the client, which owns the monitored item described by the OpcSubscribeEvent command.
receivedOpcEventReceivedEventHandlerThe OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

OpcSubscribeEvent(Guid, int, OpcEventFilter, OpcEventReceivedEventHandler) ​

Initializes a new instance of the OpcSubscribeEvent class using the nodeId and namespaceIndex specified to operate on the EventNotifier attribute.

csharp
public OpcSubscribeEvent(
    Guid nodeId,
    int namespaceIndex,
    OpcEventFilter filter,
    OpcEventReceivedEventHandler received)
vbnet
Public Sub New(
    nodeId As Guid,
    namespaceIndex As Integer,
    filter As OpcEventFilter,
    received As OpcEventReceivedEventHandler)

Parameters

NameTypeDescription
nodeIdGuidThe general unique identifier (= GUID) of the node on which the service, who will execute this command, will operate on its EventNotifier attribute.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
filterOpcEventFilterThe OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the event data before it is reported to the client, which owns the monitored item described by the OpcSubscribeEvent command.
receivedOpcEventReceivedEventHandlerThe OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

OpcSubscribeEvent(int, int, OpcEventFilter, OpcEventReceivedEventHandler) ​

Initializes a new instance of the OpcSubscribeEvent class using the nodeId and namespaceIndex specified to operate on the EventNotifier attribute.

csharp
public OpcSubscribeEvent(
    int nodeId,
    int namespaceIndex,
    OpcEventFilter filter,
    OpcEventReceivedEventHandler received)
vbnet
Public Sub New(
    nodeId As Integer,
    namespaceIndex As Integer,
    filter As OpcEventFilter,
    received As OpcEventReceivedEventHandler)

Parameters

NameTypeDescription
nodeIdInt32The numeric node identifier of the node on which the service, who will execute this command, will operate on its EventNotifier attribute.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
filterOpcEventFilterThe OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the event data before it is reported to the client, which owns the monitored item described by the OpcSubscribeEvent command.
receivedOpcEventReceivedEventHandlerThe OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

OpcSubscribeEvent(uint, int, OpcEventFilter, OpcEventReceivedEventHandler) ​

Initializes a new instance of the OpcSubscribeEvent class using the nodeId and namespaceIndex specified to operate on the EventNotifier attribute.

csharp
public OpcSubscribeEvent(
    uint nodeId,
    int namespaceIndex,
    OpcEventFilter filter,
    OpcEventReceivedEventHandler received)
vbnet
Public Sub New(
    nodeId As UInteger,
    namespaceIndex As Integer,
    filter As OpcEventFilter,
    received As OpcEventReceivedEventHandler)

Parameters

NameTypeDescription
nodeIdUInt32The numeric node identifier of the node on which the service, who will execute this command, will operate on its EventNotifier attribute.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
filterOpcEventFilterThe OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the event data before it is reported to the client, which owns the monitored item described by the OpcSubscribeEvent command.
receivedOpcEventReceivedEventHandlerThe OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

OpcSubscribeEvent(string, int, OpcEventFilter, OpcEventReceivedEventHandler) ​

Initializes a new instance of the OpcSubscribeEvent class using the nodeId and namespaceIndex specified to operate on the EventNotifier attribute.

csharp
public OpcSubscribeEvent(
    string nodeId,
    int namespaceIndex,
    OpcEventFilter filter,
    OpcEventReceivedEventHandler received)
vbnet
Public Sub New(
    nodeId As String,
    namespaceIndex As Integer,
    filter As OpcEventFilter,
    received As OpcEventReceivedEventHandler)

Parameters

NameTypeDescription
nodeIdStringThe textual node identifier of the node on which the service, who will execute this command, will operate on its EventNotifier attribute.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
filterOpcEventFilterThe OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the event data before it is reported to the client, which owns the monitored item described by the OpcSubscribeEvent command.
receivedOpcEventReceivedEventHandlerThe OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

OpcSubscribeEvent(byte[], int, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler) ​

Initializes a new instance of the OpcSubscribeEvent class using the nodeId and namespaceIndex specified to operate on the attribute.

csharp
public OpcSubscribeEvent(
    byte[] nodeId,
    int namespaceIndex,
    OpcAttribute attribute,
    OpcEventFilter filter,
    OpcEventReceivedEventHandler received)
vbnet
Public Sub New(
    nodeId As Byte(),
    namespaceIndex As Integer,
    attribute As OpcAttribute,
    filter As OpcEventFilter,
    received As OpcEventReceivedEventHandler)

Parameters

NameTypeDescription
nodeIdByte[]The opaque node identifier of the node on which the service, who will execute this command, will operate on its attribute.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.
filterOpcEventFilterThe OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the event data before it is reported to the client, which owns the monitored item described by the OpcSubscribeEvent command.
receivedOpcEventReceivedEventHandlerThe OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

OpcSubscribeEvent(Guid, int, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler) ​

Initializes a new instance of the OpcSubscribeEvent class using the nodeId and namespaceIndex specified to operate on the attribute.

csharp
public OpcSubscribeEvent(
    Guid nodeId,
    int namespaceIndex,
    OpcAttribute attribute,
    OpcEventFilter filter,
    OpcEventReceivedEventHandler received)
vbnet
Public Sub New(
    nodeId As Guid,
    namespaceIndex As Integer,
    attribute As OpcAttribute,
    filter As OpcEventFilter,
    received As OpcEventReceivedEventHandler)

Parameters

NameTypeDescription
nodeIdGuidThe general unique identifier (= GUID) of the node on which the service, who will execute this command, will operate on its attribute.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.
filterOpcEventFilterThe OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the event data before it is reported to the client, which owns the monitored item described by the OpcSubscribeEvent command.
receivedOpcEventReceivedEventHandlerThe OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

OpcSubscribeEvent(int, int, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler) ​

Initializes a new instance of the OpcSubscribeEvent class using the nodeId and namespaceIndex specified to operate on the attribute.

csharp
public OpcSubscribeEvent(
    int nodeId,
    int namespaceIndex,
    OpcAttribute attribute,
    OpcEventFilter filter,
    OpcEventReceivedEventHandler received)
vbnet
Public Sub New(
    nodeId As Integer,
    namespaceIndex As Integer,
    attribute As OpcAttribute,
    filter As OpcEventFilter,
    received As OpcEventReceivedEventHandler)

Parameters

NameTypeDescription
nodeIdInt32The numeric node identifier of the node on which the service, who will execute this command, will operate on its attribute.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.
filterOpcEventFilterThe OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the event data before it is reported to the client, which owns the monitored item described by the OpcSubscribeEvent command.
receivedOpcEventReceivedEventHandlerThe OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

OpcSubscribeEvent(uint, int, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler) ​

Initializes a new instance of the OpcSubscribeEvent class using the nodeId and namespaceIndex specified to operate on the attribute.

csharp
public OpcSubscribeEvent(
    uint nodeId,
    int namespaceIndex,
    OpcAttribute attribute,
    OpcEventFilter filter,
    OpcEventReceivedEventHandler received)
vbnet
Public Sub New(
    nodeId As UInteger,
    namespaceIndex As Integer,
    attribute As OpcAttribute,
    filter As OpcEventFilter,
    received As OpcEventReceivedEventHandler)

Parameters

NameTypeDescription
nodeIdUInt32The numeric node identifier of the node on which the service, who will execute this command, will operate on its attribute.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.
filterOpcEventFilterThe OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the event data before it is reported to the client, which owns the monitored item described by the OpcSubscribeEvent command.
receivedOpcEventReceivedEventHandlerThe OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

OpcSubscribeEvent(string, int, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler) ​

Initializes a new instance of the OpcSubscribeEvent class using the nodeId and namespaceIndex specified to operate on the attribute.

csharp
public OpcSubscribeEvent(
    string nodeId,
    int namespaceIndex,
    OpcAttribute attribute,
    OpcEventFilter filter,
    OpcEventReceivedEventHandler received)
vbnet
Public Sub New(
    nodeId As String,
    namespaceIndex As Integer,
    attribute As OpcAttribute,
    filter As OpcEventFilter,
    received As OpcEventReceivedEventHandler)

Parameters

NameTypeDescription
nodeIdStringThe textual node identifier of the node on which the service, who will execute this command, will operate on its attribute.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.
filterOpcEventFilterThe OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the event data before it is reported to the client, which owns the monitored item described by the OpcSubscribeEvent command.
receivedOpcEventReceivedEventHandlerThe OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

OpcSubscribeEvent(OpcNodeId, OpcEventReceivedEventHandler) ​

Initializes a new instance of the OpcSubscribeEvent class using the nodeId specified to operate on the EventNotifier attribute.

csharp
public OpcSubscribeEvent(
    OpcNodeId nodeId,
    OpcEventReceivedEventHandler received)
vbnet
Public Sub New(nodeId As OpcNodeId, received As OpcEventReceivedEventHandler)

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe OpcNodeId of the node on which the service, who will execute this command, will operate on its EventNotifier attribute.
receivedOpcEventReceivedEventHandlerThe OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

Exceptions

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

OpcSubscribeEvent(OpcNodeId, OpcAttribute, OpcEventReceivedEventHandler) ​

Initializes a new instance of the OpcSubscribeEvent class using the nodeId specified to operate on the attribute defined.

csharp
public OpcSubscribeEvent(
    OpcNodeId nodeId,
    OpcAttribute attribute,
    OpcEventReceivedEventHandler received)
vbnet
Public Sub New(
    nodeId As OpcNodeId,
    attribute As OpcAttribute,
    received As OpcEventReceivedEventHandler)

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe OpcNodeId of the node on which the service, who will execute this command, will operate on its attribute.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.
receivedOpcEventReceivedEventHandlerThe OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

Exceptions

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

OpcSubscribeEvent(OpcNodeId, OpcEventFilter, OpcEventReceivedEventHandler) ​

Initializes a new instance of the OpcSubscribeEvent class using the nodeId specified to operate on the EventNotifier attribute.

csharp
public OpcSubscribeEvent(
    OpcNodeId nodeId,
    OpcEventFilter filter,
    OpcEventReceivedEventHandler received)
vbnet
Public Sub New(
    nodeId As OpcNodeId,
    filter As OpcEventFilter,
    received As OpcEventReceivedEventHandler)

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe OpcNodeId of the node on which the service, who will execute this command, will operate on its EventNotifier attribute.
filterOpcEventFilterThe OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the event data before it is reported to the client, which owns the monitored item described by the OpcSubscribeEvent command.
receivedOpcEventReceivedEventHandlerThe OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

Exceptions

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

OpcSubscribeEvent(OpcNodeId, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler) ​

Initializes a new instance of the OpcSubscribeEvent class using the nodeId specified to operate on the attribute defined.

csharp
public OpcSubscribeEvent(
    OpcNodeId nodeId,
    OpcAttribute attribute,
    OpcEventFilter filter,
    OpcEventReceivedEventHandler received)
vbnet
Public Sub New(
    nodeId As OpcNodeId,
    attribute As OpcAttribute,
    filter As OpcEventFilter,
    received As OpcEventReceivedEventHandler)

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe OpcNodeId of the node on which the service, who will execute this command, will operate on its attribute.
attributeOpcAttributeOne of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.
filterOpcEventFilterThe OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the event data before it is reported to the client, which owns the monitored item described by the OpcSubscribeEvent command.
receivedOpcEventReceivedEventHandlerThe OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.

Exceptions

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