OpcSubscribeEvent Members

Namespace: Opc.UaFx.Client
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcSubscribeEvent type exposes the following members.

OpcSubscribeEvent(Byte[], Int32, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)

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

C#

public OpcSubscribeEvent(byte[] nodeId, int namespaceIndex, OpcAttribute attribute, OpcEventFilter filter, OpcEventReceivedEventHandler received)


Parameters

nodeId Byte[]

The opaque node identifier of the node on which the service, who will execute this command, will operate on its attribute.

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 service.

filter OpcEventFilter

The 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.

received OpcEventReceivedEventHandler

The 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

ArgumentException

The command does not support empty node identifiers.

OpcSubscribeEvent(Byte[], Int32, OpcAttribute, OpcEventReceivedEventHandler)

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

C#

public OpcSubscribeEvent(byte[] nodeId, int namespaceIndex, OpcAttribute attribute, OpcEventReceivedEventHandler received)


Parameters

nodeId Byte[]

The opaque node identifier of the node on which the service, who will execute this command, will operate on its attribute.

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 service.

received OpcEventReceivedEventHandler

The 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

ArgumentException

The command does not support empty node identifiers.

OpcSubscribeEvent(Byte[], Int32, OpcEventFilter, OpcEventReceivedEventHandler)

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

C#

public OpcSubscribeEvent(byte[] nodeId, int namespaceIndex, OpcEventFilter filter, OpcEventReceivedEventHandler received)


Parameters

nodeId Byte[]

The opaque node identifier of the node on which the service, who will execute this command, will operate on its EventNotifier attribute.

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 event data before it is reported to the client, which owns the monitored item described by the OpcSubscribeEvent command.

received OpcEventReceivedEventHandler

The 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

ArgumentException

The command does not support empty node identifiers.

OpcSubscribeEvent(Byte[], Int32, OpcEventReceivedEventHandler)

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

C#

public OpcSubscribeEvent(byte[] nodeId, int namespaceIndex, OpcEventReceivedEventHandler received)


Parameters

nodeId Byte[]

The opaque node identifier of the node on which the service, who will execute this command, will operate on its EventNotifier attribute.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

received OpcEventReceivedEventHandler

The 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

ArgumentException

The command does not support empty node identifiers.

OpcSubscribeEvent(Byte[], OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)

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

C#

public OpcSubscribeEvent(byte[] nodeId, OpcAttribute attribute, OpcEventFilter filter, OpcEventReceivedEventHandler received)


Parameters

nodeId Byte[]

The opaque node identifier 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 service.

filter OpcEventFilter

The 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.

received OpcEventReceivedEventHandler

The 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

ArgumentException

The command does not support empty node identifiers.

OpcSubscribeEvent(Byte[], OpcAttribute, OpcEventReceivedEventHandler)

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

C#

public OpcSubscribeEvent(byte[] nodeId, OpcAttribute attribute, OpcEventReceivedEventHandler received)


Parameters

nodeId Byte[]

The opaque node identifier 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 service.

received OpcEventReceivedEventHandler

The 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

ArgumentException

The command does not support empty node identifiers.

OpcSubscribeEvent(Byte[], OpcEventFilter, OpcEventReceivedEventHandler)

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

C#

public OpcSubscribeEvent(byte[] nodeId, OpcEventFilter filter, OpcEventReceivedEventHandler received)


Parameters

nodeId Byte[]

The opaque node identifier of the node on which the service, who will execute this command, will operate on its EventNotifier attribute.

filter OpcEventFilter

The 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.

received OpcEventReceivedEventHandler

The 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

ArgumentException

The 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.

C#

public OpcSubscribeEvent(byte[] nodeId, OpcEventReceivedEventHandler received)


Parameters

nodeId Byte[]

The opaque node identifier of the node on which the service, who will execute this command, will operate on its EventNotifier attribute.

received OpcEventReceivedEventHandler

The 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

ArgumentException

The command does not support empty node identifiers.

OpcSubscribeEvent(Guid, Int32, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)

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

C#

public OpcSubscribeEvent(Guid nodeId, int namespaceIndex, OpcAttribute attribute, OpcEventFilter filter, OpcEventReceivedEventHandler received)


Parameters

nodeId Guid

The general unique identifier (= GUID) of the node on which the service, who will execute this command, will operate on its attribute.

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 service.

filter OpcEventFilter

The 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.

received OpcEventReceivedEventHandler

The 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

ArgumentException

The command does not support empty node identifiers.

OpcSubscribeEvent(Guid, Int32, OpcAttribute, OpcEventReceivedEventHandler)

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

C#

public OpcSubscribeEvent(Guid nodeId, int namespaceIndex, OpcAttribute attribute, OpcEventReceivedEventHandler received)


Parameters

nodeId Guid

The general unique identifier (= GUID) of the node on which the service, who will execute this command, will operate on its attribute.

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 service.

received OpcEventReceivedEventHandler

The 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

ArgumentException

The command does not support empty node identifiers.

OpcSubscribeEvent(Guid, Int32, OpcEventFilter, OpcEventReceivedEventHandler)

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

C#

public OpcSubscribeEvent(Guid nodeId, int namespaceIndex, OpcEventFilter filter, OpcEventReceivedEventHandler received)


Parameters

nodeId Guid

The general unique identifier (= GUID) of the node on which the service, who will execute this command, will operate on its EventNotifier attribute.

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 event data before it is reported to the client, which owns the monitored item described by the OpcSubscribeEvent command.

received OpcEventReceivedEventHandler

The 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

ArgumentException

The command does not support empty node identifiers.

OpcSubscribeEvent(Guid, Int32, OpcEventReceivedEventHandler)

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

C#

public OpcSubscribeEvent(Guid nodeId, int namespaceIndex, OpcEventReceivedEventHandler received)


Parameters

nodeId Guid

The general unique identifier (= GUID) of the node on which the service, who will execute this command, will operate on its EventNotifier attribute.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

received OpcEventReceivedEventHandler

The 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

ArgumentException

The command does not support empty node identifiers.

OpcSubscribeEvent(Guid, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)

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

C#

public OpcSubscribeEvent(Guid nodeId, OpcAttribute attribute, OpcEventFilter filter, OpcEventReceivedEventHandler received)


Parameters

nodeId Guid

The general unique identifier (= GUID) 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 service.

filter OpcEventFilter

The 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.

received OpcEventReceivedEventHandler

The 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

ArgumentException

The command does not support empty node identifiers.

OpcSubscribeEvent(Guid, OpcAttribute, OpcEventReceivedEventHandler)

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

C#

public OpcSubscribeEvent(Guid nodeId, OpcAttribute attribute, OpcEventReceivedEventHandler received)


Parameters

nodeId Guid

The general unique identifier (= GUID) 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 service.

received OpcEventReceivedEventHandler

The 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

ArgumentException

The command does not support empty node identifiers.

OpcSubscribeEvent(Guid, OpcEventFilter, OpcEventReceivedEventHandler)

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

C#

public OpcSubscribeEvent(Guid nodeId, OpcEventFilter filter, OpcEventReceivedEventHandler received)


Parameters

nodeId Guid

The general unique identifier (= GUID) of the node on which the service, who will execute this command, will operate on its EventNotifier attribute.

filter OpcEventFilter

The 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.

received OpcEventReceivedEventHandler

The 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

ArgumentException

The command does not support empty node identifiers.

OpcSubscribeEvent(Guid, OpcEventReceivedEventHandler)

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

C#

public OpcSubscribeEvent(Guid nodeId, OpcEventReceivedEventHandler received)


Parameters

nodeId Guid

The general unique identifier (= GUID) of the node on which the service, who will execute this command, will operate on its EventNotifier attribute.

received OpcEventReceivedEventHandler

The 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

ArgumentException

The command does not support empty node identifiers.

OpcSubscribeEvent(Int32, Int32, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)

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

C#

public OpcSubscribeEvent(int nodeId, int namespaceIndex, OpcAttribute attribute, OpcEventFilter filter, OpcEventReceivedEventHandler received)


Parameters

nodeId Int32

The numeric node identifier of the node on which the service, who will execute this command, will operate on its attribute.

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 service.

filter OpcEventFilter

The 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.

received OpcEventReceivedEventHandler

The 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

ArgumentException

The command does not support empty node identifiers.

OpcSubscribeEvent(Int32, Int32, OpcAttribute, OpcEventReceivedEventHandler)

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

C#

public OpcSubscribeEvent(int nodeId, int namespaceIndex, OpcAttribute attribute, OpcEventReceivedEventHandler received)


Parameters

nodeId Int32

The numeric node identifier of the node on which the service, who will execute this command, will operate on its attribute.

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 service.

received OpcEventReceivedEventHandler

The 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

ArgumentException

The command does not support empty node identifiers.

OpcSubscribeEvent(Int32, Int32, OpcEventFilter, OpcEventReceivedEventHandler)

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

C#

public OpcSubscribeEvent(int nodeId, int namespaceIndex, OpcEventFilter filter, OpcEventReceivedEventHandler received)


Parameters

nodeId Int32

The numeric node identifier of the node on which the service, who will execute this command, will operate on its EventNotifier attribute.

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 event data before it is reported to the client, which owns the monitored item described by the OpcSubscribeEvent command.

received OpcEventReceivedEventHandler

The 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

ArgumentException

The command does not support empty node identifiers.

OpcSubscribeEvent(Int32, Int32, OpcEventReceivedEventHandler)

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

C#

public OpcSubscribeEvent(int nodeId, int namespaceIndex, OpcEventReceivedEventHandler received)


Parameters

nodeId Int32

The numeric node identifier of the node on which the service, who will execute this command, will operate on its EventNotifier attribute.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

received OpcEventReceivedEventHandler

The 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

ArgumentException

The command does not support empty node identifiers.

OpcSubscribeEvent(Int32, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)

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

C#

public OpcSubscribeEvent(int nodeId, OpcAttribute attribute, OpcEventFilter filter, OpcEventReceivedEventHandler received)


Parameters

nodeId Int32

The numeric node identifier 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 service.

filter OpcEventFilter

The 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.

received OpcEventReceivedEventHandler

The 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

ArgumentException

The command does not support empty node identifiers.

OpcSubscribeEvent(Int32, OpcAttribute, OpcEventReceivedEventHandler)

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

C#

public OpcSubscribeEvent(int nodeId, OpcAttribute attribute, OpcEventReceivedEventHandler received)


Parameters

nodeId Int32

The numeric node identifier 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 service.

received OpcEventReceivedEventHandler

The 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

ArgumentException

The command does not support empty node identifiers.

OpcSubscribeEvent(Int32, OpcEventFilter, OpcEventReceivedEventHandler)

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

C#

public OpcSubscribeEvent(int nodeId, OpcEventFilter filter, OpcEventReceivedEventHandler received)


Parameters

nodeId Int32

The numeric node identifier of the node on which the service, who will execute this command, will operate on its EventNotifier attribute.

filter OpcEventFilter

The 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.

received OpcEventReceivedEventHandler

The 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

ArgumentException

The command does not support empty node identifiers.

OpcSubscribeEvent(Int32, OpcEventReceivedEventHandler)

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

C#

public OpcSubscribeEvent(int nodeId, OpcEventReceivedEventHandler received)


Parameters

nodeId Int32

The numeric node identifier of the node on which the service, who will execute this command, will operate on its EventNotifier attribute.

received OpcEventReceivedEventHandler

The 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

ArgumentException

The command does not support empty node identifiers.

OpcSubscribeEvent(OpcNodeId, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)

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

C#

public OpcSubscribeEvent(OpcNodeId nodeId, OpcAttribute attribute, OpcEventFilter filter, OpcEventReceivedEventHandler received)


Parameters

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 service.

filter OpcEventFilter

The 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.

received OpcEventReceivedEventHandler

The 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

ArgumentException

The command does not support empty node identifiers.

ArgumentNullException

The 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.

C#

public OpcSubscribeEvent(OpcNodeId nodeId, OpcAttribute attribute, OpcEventReceivedEventHandler received)


Parameters

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 service.

received OpcEventReceivedEventHandler

The 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

ArgumentException

The command does not support empty node identifiers.

ArgumentNullException

The 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.

C#

public OpcSubscribeEvent(OpcNodeId nodeId, OpcEventFilter filter, OpcEventReceivedEventHandler received)


Parameters

nodeId OpcNodeId

The OpcNodeId of the node on which the service, who will execute this command, will operate on its EventNotifier attribute.

filter OpcEventFilter

The 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.

received OpcEventReceivedEventHandler

The 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

ArgumentException

The command does not support empty node identifiers.

ArgumentNullException

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

OpcSubscribeEvent(OpcNodeId, OpcEventReceivedEventHandler)

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

C#

public OpcSubscribeEvent(OpcNodeId nodeId, OpcEventReceivedEventHandler received)


Parameters

nodeId OpcNodeId

The OpcNodeId of the node on which the service, who will execute this command, will operate on its EventNotifier attribute.

received OpcEventReceivedEventHandler

The 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

ArgumentException

The command does not support empty node identifiers.

ArgumentNullException

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

OpcSubscribeEvent(String, Int32, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)

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

C#

public OpcSubscribeEvent(string nodeId, int namespaceIndex, OpcAttribute attribute, OpcEventFilter filter, OpcEventReceivedEventHandler received)


Parameters

nodeId String

The textual node identifier of the node on which the service, who will execute this command, will operate on its attribute.

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 service.

filter OpcEventFilter

The 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.

received OpcEventReceivedEventHandler

The 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

ArgumentException

The command does not support empty node identifiers.

OpcSubscribeEvent(String, Int32, OpcAttribute, OpcEventReceivedEventHandler)

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

C#

public OpcSubscribeEvent(string nodeId, int namespaceIndex, OpcAttribute attribute, OpcEventReceivedEventHandler received)


Parameters

nodeId String

The textual node identifier of the node on which the service, who will execute this command, will operate on its attribute.

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 service.

received OpcEventReceivedEventHandler

The 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

ArgumentException

The command does not support empty node identifiers.

OpcSubscribeEvent(String, Int32, OpcEventFilter, OpcEventReceivedEventHandler)

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

C#

public OpcSubscribeEvent(string nodeId, int namespaceIndex, OpcEventFilter filter, OpcEventReceivedEventHandler received)


Parameters

nodeId String

The textual node identifier of the node on which the service, who will execute this command, will operate on its EventNotifier attribute.

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 event data before it is reported to the client, which owns the monitored item described by the OpcSubscribeEvent command.

received OpcEventReceivedEventHandler

The 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

ArgumentException

The command does not support empty node identifiers.

OpcSubscribeEvent(String, Int32, OpcEventReceivedEventHandler)

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

C#

public OpcSubscribeEvent(string nodeId, int namespaceIndex, OpcEventReceivedEventHandler received)


Parameters

nodeId String

The textual node identifier of the node on which the service, who will execute this command, will operate on its EventNotifier attribute.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

received OpcEventReceivedEventHandler

The 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

ArgumentException

The command does not support empty node identifiers.

OpcSubscribeEvent(String, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)

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

C#

public OpcSubscribeEvent(string nodeId, OpcAttribute attribute, OpcEventFilter filter, OpcEventReceivedEventHandler received)


Parameters

nodeId String

The textual node identifier 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 service.

filter OpcEventFilter

The 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.

received OpcEventReceivedEventHandler

The 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

ArgumentException

The command does not support empty node identifiers.

OpcSubscribeEvent(String, OpcAttribute, OpcEventReceivedEventHandler)

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

C#

public OpcSubscribeEvent(string nodeId, OpcAttribute attribute, OpcEventReceivedEventHandler received)


Parameters

nodeId String

The textual node identifier 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 service.

received OpcEventReceivedEventHandler

The 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

ArgumentException

The command does not support empty node identifiers.

OpcSubscribeEvent(String, OpcEventFilter, OpcEventReceivedEventHandler)

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

C#

public OpcSubscribeEvent(string nodeId, OpcEventFilter filter, OpcEventReceivedEventHandler received)


Parameters

nodeId String

The textual node identifier of the node on which the service, who will execute this command, will operate on its EventNotifier attribute.

filter OpcEventFilter

The 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.

received OpcEventReceivedEventHandler

The 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

ArgumentException

The command does not support empty node identifiers.

OpcSubscribeEvent(String, OpcEventReceivedEventHandler)

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

C#

public OpcSubscribeEvent(string nodeId, OpcEventReceivedEventHandler received)


Parameters

nodeId String

The textual node identifier of the node on which the service, who will execute this command, will operate on its EventNotifier attribute.

received OpcEventReceivedEventHandler

The 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

ArgumentException

The command does not support empty node identifiers.

OpcSubscribeEvent(UInt32, Int32, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)

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

C#

public OpcSubscribeEvent(uint nodeId, int namespaceIndex, OpcAttribute attribute, OpcEventFilter filter, OpcEventReceivedEventHandler received)


Parameters

nodeId UInt32

The numeric node identifier of the node on which the service, who will execute this command, will operate on its attribute.

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 service.

filter OpcEventFilter

The 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.

received OpcEventReceivedEventHandler

The 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

ArgumentException

The command does not support empty node identifiers.

OpcSubscribeEvent(UInt32, Int32, OpcAttribute, OpcEventReceivedEventHandler)

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

C#

public OpcSubscribeEvent(uint nodeId, int namespaceIndex, OpcAttribute attribute, OpcEventReceivedEventHandler received)


Parameters

nodeId UInt32

The numeric node identifier of the node on which the service, who will execute this command, will operate on its attribute.

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 service.

received OpcEventReceivedEventHandler

The 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

ArgumentException

The command does not support empty node identifiers.

OpcSubscribeEvent(UInt32, Int32, OpcEventFilter, OpcEventReceivedEventHandler)

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

C#

public OpcSubscribeEvent(uint nodeId, int namespaceIndex, OpcEventFilter filter, OpcEventReceivedEventHandler received)


Parameters

nodeId UInt32

The numeric node identifier of the node on which the service, who will execute this command, will operate on its EventNotifier attribute.

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 event data before it is reported to the client, which owns the monitored item described by the OpcSubscribeEvent command.

received OpcEventReceivedEventHandler

The 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

ArgumentException

The command does not support empty node identifiers.

OpcSubscribeEvent(UInt32, Int32, OpcEventReceivedEventHandler)

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

C#

public OpcSubscribeEvent(uint nodeId, int namespaceIndex, OpcEventReceivedEventHandler received)


Parameters

nodeId UInt32

The numeric node identifier of the node on which the service, who will execute this command, will operate on its EventNotifier attribute.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

received OpcEventReceivedEventHandler

The 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

ArgumentException

The command does not support empty node identifiers.

OpcSubscribeEvent(UInt32, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)

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

C#

public OpcSubscribeEvent(uint nodeId, OpcAttribute attribute, OpcEventFilter filter, OpcEventReceivedEventHandler received)


Parameters

nodeId UInt32

The numeric node identifier 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 service.

filter OpcEventFilter

The 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.

received OpcEventReceivedEventHandler

The 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

ArgumentException

The command does not support empty node identifiers.

OpcSubscribeEvent(UInt32, OpcAttribute, OpcEventReceivedEventHandler)

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

C#

public OpcSubscribeEvent(uint nodeId, OpcAttribute attribute, OpcEventReceivedEventHandler received)


Parameters

nodeId UInt32

The numeric node identifier 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 service.

received OpcEventReceivedEventHandler

The 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

ArgumentException

The command does not support empty node identifiers.

OpcSubscribeEvent(UInt32, OpcEventFilter, OpcEventReceivedEventHandler)

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

C#

public OpcSubscribeEvent(uint nodeId, OpcEventFilter filter, OpcEventReceivedEventHandler received)


Parameters

nodeId UInt32

The numeric node identifier of the node on which the service, who will execute this command, will operate on its EventNotifier attribute.

filter OpcEventFilter

The 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.

received OpcEventReceivedEventHandler

The 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

ArgumentException

The command does not support empty node identifiers.

OpcSubscribeEvent(UInt32, OpcEventReceivedEventHandler)

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

C#

public OpcSubscribeEvent(uint nodeId, OpcEventReceivedEventHandler received)


Parameters

nodeId UInt32

The numeric node identifier of the node on which the service, who will execute this command, will operate on its EventNotifier attribute.

received OpcEventReceivedEventHandler

The 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

ArgumentException

The command does not support empty node identifiers.