Namespace: Opc.UaFx.Client
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcSubscribeEvent type exposes the following members.
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
The command does not support empty node identifiers.
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
The command does not support empty node identifiers.
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
The command does not support empty node identifiers.
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
The command does not support empty node identifiers.
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
The command does not support empty node identifiers.
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
The command does not support empty node identifiers.
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
The command does not support empty node identifiers.
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
The command does not support empty node identifiers.
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
The command does not support empty node identifiers.
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
The command does not support empty node identifiers.
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
The command does not support empty node identifiers.
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
The command does not support empty node identifiers.
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
The command does not support empty node identifiers.
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
The command does not support empty node identifiers.
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
The command does not support empty node identifiers.
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
The command does not support empty node identifiers.
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
The command does not support empty node identifiers.
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
The command does not support empty node identifiers.
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
The command does not support empty node identifiers.
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
The command does not support empty node identifiers.
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
The command does not support empty node identifiers.
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
The command does not support empty node identifiers.
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
The command does not support empty node identifiers.
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
The command does not support empty node identifiers.
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
The command does not support empty node identifiers.
The nodeId
is a null reference (Nothing in Visual Basic).
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
The command does not support empty node identifiers.
The nodeId
is a null reference (Nothing in Visual Basic).
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
The command does not support empty node identifiers.
The nodeId
is a null reference (Nothing in Visual Basic).
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
The command does not support empty node identifiers.
The nodeId
is a null reference (Nothing in Visual Basic).
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
The command does not support empty node identifiers.
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
The command does not support empty node identifiers.
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
The command does not support empty node identifiers.
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
The command does not support empty node identifiers.
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
The command does not support empty node identifiers.
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
The command does not support empty node identifiers.
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
The command does not support empty node identifiers.
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
The command does not support empty node identifiers.
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
The command does not support empty node identifiers.
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
The command does not support empty node identifiers.
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
The command does not support empty node identifiers.
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
The command does not support empty node identifiers.
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
The command does not support empty node identifiers.
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
The command does not support empty node identifiers.
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
The command does not support empty node identifiers.
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
The command does not support empty node identifiers.