# OpcSubscribeEvent Members

> Reference: 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.

<dl class="api-definition">
<dt>Type</dt>
<dd><a href="./">OpcSubscribeEvent</a></dd>
<dt>Namespace</dt>
<dd><a href="../namespaces/opc.uafx.client">Opc.UaFx.Client</a></dd>
<dt>Assembly</dt>
<dd>Opc.UaFx.Advanced.dll</dd>
<dt>Package</dt>
<dd>Opc.UaFx.Advanced v2.59.0</dd>
<dt>Also in</dt>
<dd>Opc.UaFx.Client</dd>
</dl>

Inherits members from [OpcSubscribeNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribenode/members), [OpcNodeAttributeServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeattributeservicecommand/members), [OpcNodeServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/members), [OpcServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcservicecommand/members).

## Constructors

### OpcSubscribeEvent

<span class="api-meta">44 overloads</span>

| Overload | Description |
|---|---|
| [OpcSubscribeEvent(byte\[\], OpcEventReceivedEventHandler)](#opcsubscribeevent-system-byte-array-opc-uafx-client-opceventreceivedeventhandler) | Initializes a new instance of the [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` specified to operate on the [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute. |
| [OpcSubscribeEvent(Guid, OpcEventReceivedEventHandler)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/members#opcsubscribeevent-system-guid-opc-uafx-client-opceventreceivedeventhandler) | Initializes a new instance of the [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` specified to operate on the [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute. |
| [OpcSubscribeEvent(int, OpcEventReceivedEventHandler)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/members#opcsubscribeevent-system-int32-opc-uafx-client-opceventreceivedeventhandler) | Initializes a new instance of the [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` specified to operate on the [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute. |
| [OpcSubscribeEvent(uint, OpcEventReceivedEventHandler)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/members#opcsubscribeevent-system-uint32-opc-uafx-client-opceventreceivedeventhandler) | Initializes a new instance of the [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` specified to operate on the [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute. |
| [OpcSubscribeEvent(string, OpcEventReceivedEventHandler)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/members#opcsubscribeevent-system-string-opc-uafx-client-opceventreceivedeventhandler) | Initializes a new instance of the [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` specified to operate on the [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute. |
| [OpcSubscribeEvent(byte\[\], OpcAttribute, OpcEventReceivedEventHandler)](#opcsubscribeevent-system-byte-array-opc-uafx-opcattribute-opc-uafx-client-opceventreceivedeventhandler) | Initializes a new instance of the [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` specified to operate on the `attribute` defined. |
| [OpcSubscribeEvent(Guid, OpcAttribute, OpcEventReceivedEventHandler)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/members#opcsubscribeevent-system-guid-opc-uafx-opcattribute-opc-uafx-client-opceventreceivedeventhandler) | Initializes a new instance of the [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` specified to operate on the `attribute` defined. |
| [OpcSubscribeEvent(int, OpcAttribute, OpcEventReceivedEventHandler)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/members#opcsubscribeevent-system-int32-opc-uafx-opcattribute-opc-uafx-client-opceventreceivedeventhandler) | Initializes a new instance of the [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` specified to operate on the `attribute` defined. |
| [OpcSubscribeEvent(uint, OpcAttribute, OpcEventReceivedEventHandler)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/members#opcsubscribeevent-system-uint32-opc-uafx-opcattribute-opc-uafx-client-opceventreceivedeventhandler) | Initializes a new instance of the [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` specified to operate on the `attribute` defined. |
| [OpcSubscribeEvent(string, OpcAttribute, OpcEventReceivedEventHandler)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/members#opcsubscribeevent-system-string-opc-uafx-opcattribute-opc-uafx-client-opceventreceivedeventhandler) | Initializes a new instance of the [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` specified to operate on the `attribute` defined. |
| [OpcSubscribeEvent(byte\[\], int, OpcEventReceivedEventHandler)](#opcsubscribeevent-system-byte-array-system-int32-opc-uafx-client-opceventreceivedeventhandler) | Initializes a new instance of the [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` and `namespaceIndex` specified to operate on the [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute. |
| [OpcSubscribeEvent(Guid, int, OpcEventReceivedEventHandler)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/members#opcsubscribeevent-system-guid-system-int32-opc-uafx-client-opceventreceivedeventhandler) | Initializes a new instance of the [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` and `namespaceIndex` specified to operate on the [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute. |
| [OpcSubscribeEvent(int, int, OpcEventReceivedEventHandler)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/members#opcsubscribeevent-system-int32-system-int32-opc-uafx-client-opceventreceivedeventhandler) | Initializes a new instance of the [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` and `namespaceIndex` specified to operate on the [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute. |
| [OpcSubscribeEvent(uint, int, OpcEventReceivedEventHandler)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/members#opcsubscribeevent-system-uint32-system-int32-opc-uafx-client-opceventreceivedeventhandler) | Initializes a new instance of the [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` and `namespaceIndex` specified to operate on the [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute. |
| [OpcSubscribeEvent(string, int, OpcEventReceivedEventHandler)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/members#opcsubscribeevent-system-string-system-int32-opc-uafx-client-opceventreceivedeventhandler) | Initializes a new instance of the [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` and `namespaceIndex` specified to operate on the [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute. |
| [OpcSubscribeEvent(byte\[\], int, OpcAttribute, OpcEventReceivedEventHandler)](#opcsubscribeevent-system-byte-array-system-int32-opc-uafx-opcattribute-opc-uafx-client-opceventreceivedeventhandler) | Initializes a new instance of the [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` and `namespaceIndex` specified to operate on the `attribute`. |
| [OpcSubscribeEvent(Guid, int, OpcAttribute, OpcEventReceivedEventHandler)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/members#opcsubscribeevent-system-guid-system-int32-opc-uafx-opcattribute-opc-uafx-client-opceventreceivedeventhandler) | Initializes a new instance of the [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` and `namespaceIndex` specified to operate on the `attribute`. |
| [OpcSubscribeEvent(int, int, OpcAttribute, OpcEventReceivedEventHandler)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/members#opcsubscribeevent-system-int32-system-int32-opc-uafx-opcattribute-opc-uafx-client-opceventreceivedeventhandler) | Initializes a new instance of the [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` and `namespaceIndex` specified to operate on the `attribute`. |
| [OpcSubscribeEvent(uint, int, OpcAttribute, OpcEventReceivedEventHandler)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/members#opcsubscribeevent-system-uint32-system-int32-opc-uafx-opcattribute-opc-uafx-client-opceventreceivedeventhandler) | Initializes a new instance of the [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` and `namespaceIndex` specified to operate on the `attribute`. |
| [OpcSubscribeEvent(string, int, OpcAttribute, OpcEventReceivedEventHandler)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/members#opcsubscribeevent-system-string-system-int32-opc-uafx-opcattribute-opc-uafx-client-opceventreceivedeventhandler) | Initializes a new instance of the [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` and `namespaceIndex` specified to operate on the `attribute`. |
| [OpcSubscribeEvent(byte\[\], OpcEventFilter, OpcEventReceivedEventHandler)](#opcsubscribeevent-system-byte-array-opc-uafx-opceventfilter-opc-uafx-client-opceventreceivedeventhandler) | Initializes a new instance of the [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` specified to operate on the [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute. |
| [OpcSubscribeEvent(Guid, OpcEventFilter, OpcEventReceivedEventHandler)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/members#opcsubscribeevent-system-guid-opc-uafx-opceventfilter-opc-uafx-client-opceventreceivedeventhandler) | Initializes a new instance of the [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` specified to operate on the [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute. |
| [OpcSubscribeEvent(int, OpcEventFilter, OpcEventReceivedEventHandler)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/members#opcsubscribeevent-system-int32-opc-uafx-opceventfilter-opc-uafx-client-opceventreceivedeventhandler) | Initializes a new instance of the [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` specified to operate on the [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute. |
| [OpcSubscribeEvent(uint, OpcEventFilter, OpcEventReceivedEventHandler)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/members#opcsubscribeevent-system-uint32-opc-uafx-opceventfilter-opc-uafx-client-opceventreceivedeventhandler) | Initializes a new instance of the [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` specified to operate on the [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute. |
| [OpcSubscribeEvent(string, OpcEventFilter, OpcEventReceivedEventHandler)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/members#opcsubscribeevent-system-string-opc-uafx-opceventfilter-opc-uafx-client-opceventreceivedeventhandler) | Initializes a new instance of the [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` specified to operate on the [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute. |
| [OpcSubscribeEvent(byte\[\], OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)](#opcsubscribeevent-system-byte-array-opc-uafx-opcattribute-opc-uafx-opceventfilter-opc-uafx-client-opceventreceivedeventhandler) | Initializes a new instance of the [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` specified to operate on the `attribute` defined. |
| [OpcSubscribeEvent(Guid, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/members#opcsubscribeevent-system-guid-opc-uafx-opcattribute-opc-uafx-opceventfilter-opc-uafx-client-opceventreceivedeventhandler) | Initializes a new instance of the [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` specified to operate on the `attribute` defined. |
| [OpcSubscribeEvent(int, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/members#opcsubscribeevent-system-int32-opc-uafx-opcattribute-opc-uafx-opceventfilter-opc-uafx-client-opceventreceivedeventhandler) | Initializes a new instance of the [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` specified to operate on the `attribute` defined. |
| [OpcSubscribeEvent(uint, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/members#opcsubscribeevent-system-uint32-opc-uafx-opcattribute-opc-uafx-opceventfilter-opc-uafx-client-opceventreceivedeventhandler) | Initializes a new instance of the [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` specified to operate on the `attribute` defined. |
| [OpcSubscribeEvent(string, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/members#opcsubscribeevent-system-string-opc-uafx-opcattribute-opc-uafx-opceventfilter-opc-uafx-client-opceventreceivedeventhandler) | Initializes a new instance of the [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` specified to operate on the `attribute` defined. |
| [OpcSubscribeEvent(byte\[\], int, OpcEventFilter, OpcEventReceivedEventHandler)](#opcsubscribeevent-system-byte-array-system-int32-opc-uafx-opceventfilter-opc-uafx-client-opceventreceivedeventhandler) | Initializes a new instance of the [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` and `namespaceIndex` specified to operate on the [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute. |
| [OpcSubscribeEvent(Guid, int, OpcEventFilter, OpcEventReceivedEventHandler)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/members#opcsubscribeevent-system-guid-system-int32-opc-uafx-opceventfilter-opc-uafx-client-opceventreceivedeventhandler) | Initializes a new instance of the [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` and `namespaceIndex` specified to operate on the [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute. |
| [OpcSubscribeEvent(int, int, OpcEventFilter, OpcEventReceivedEventHandler)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/members#opcsubscribeevent-system-int32-system-int32-opc-uafx-opceventfilter-opc-uafx-client-opceventreceivedeventhandler) | Initializes a new instance of the [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` and `namespaceIndex` specified to operate on the [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute. |
| [OpcSubscribeEvent(uint, int, OpcEventFilter, OpcEventReceivedEventHandler)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/members#opcsubscribeevent-system-uint32-system-int32-opc-uafx-opceventfilter-opc-uafx-client-opceventreceivedeventhandler) | Initializes a new instance of the [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` and `namespaceIndex` specified to operate on the [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute. |
| [OpcSubscribeEvent(string, int, OpcEventFilter, OpcEventReceivedEventHandler)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/members#opcsubscribeevent-system-string-system-int32-opc-uafx-opceventfilter-opc-uafx-client-opceventreceivedeventhandler) | Initializes a new instance of the [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` and `namespaceIndex` specified to operate on the [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute. |
| [OpcSubscribeEvent(byte\[\], int, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)](#opcsubscribeevent-system-byte-array-system-int32-opc-uafx-opcattribute-opc-uafx-opceventfilter-opc-uafx-client-opceventreceivedeventhandler) | Initializes a new instance of the [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` and `namespaceIndex` specified to operate on the `attribute`. |
| [OpcSubscribeEvent(Guid, int, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/members#opcsubscribeevent-system-guid-system-int32-opc-uafx-opcattribute-opc-uafx-opceventfilter-opc-uafx-client-opceventreceivedeventhandler) | Initializes a new instance of the [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` and `namespaceIndex` specified to operate on the `attribute`. |
| [OpcSubscribeEvent(int, int, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/members#opcsubscribeevent-system-int32-system-int32-opc-uafx-opcattribute-opc-uafx-opceventfilter-opc-uafx-client-opceventreceivedeventhandler) | Initializes a new instance of the [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` and `namespaceIndex` specified to operate on the `attribute`. |
| [OpcSubscribeEvent(uint, int, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/members#opcsubscribeevent-system-uint32-system-int32-opc-uafx-opcattribute-opc-uafx-opceventfilter-opc-uafx-client-opceventreceivedeventhandler) | Initializes a new instance of the [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` and `namespaceIndex` specified to operate on the `attribute`. |
| [OpcSubscribeEvent(string, int, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/members#opcsubscribeevent-system-string-system-int32-opc-uafx-opcattribute-opc-uafx-opceventfilter-opc-uafx-client-opceventreceivedeventhandler) | Initializes a new instance of the [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` and `namespaceIndex` specified to operate on the `attribute`. |
| [OpcSubscribeEvent(OpcNodeId, OpcEventReceivedEventHandler)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/members#opcsubscribeevent-opc-uafx-opcnodeid-opc-uafx-client-opceventreceivedeventhandler) | Initializes a new instance of the [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` specified to operate on the [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute. |
| [OpcSubscribeEvent(OpcNodeId, OpcAttribute, OpcEventReceivedEventHandler)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/members#opcsubscribeevent-opc-uafx-opcnodeid-opc-uafx-opcattribute-opc-uafx-client-opceventreceivedeventhandler) | Initializes a new instance of the [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` specified to operate on the `attribute` defined. |
| [OpcSubscribeEvent(OpcNodeId, OpcEventFilter, OpcEventReceivedEventHandler)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/members#opcsubscribeevent-opc-uafx-opcnodeid-opc-uafx-opceventfilter-opc-uafx-client-opceventreceivedeventhandler) | Initializes a new instance of the [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` specified to operate on the [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute. |
| [OpcSubscribeEvent(OpcNodeId, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/members#opcsubscribeevent-opc-uafx-opcnodeid-opc-uafx-opcattribute-opc-uafx-opceventfilter-opc-uafx-client-opceventreceivedeventhandler) | Initializes a new instance of the [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` specified to operate on the `attribute` defined. |

**Exceptions (all overloads)**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The command does not support empty node identifiers. |

#### OpcSubscribeEvent(byte\[\], OpcEventReceivedEventHandler)

Initializes a new instance of the [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` specified to operate on the [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute.

<div class="api-signature" data-lang="csharp">

```csharp
public OpcSubscribeEvent(byte[] nodeId, OpcEventReceivedEventHandler received)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Sub New(nodeId As Byte(), received As OpcEventReceivedEventHandler)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Byte](https://learn.microsoft.com/dotnet/api/system.byte)[] | The opaque node identifier of the node on which the service, who will execute this command, will operate on its [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute. |
| `received` | [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) | The [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) method to assign as the event handler of the [EventReceived](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/members#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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` specified to operate on the [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute.

<div class="api-signature" data-lang="csharp">

```csharp
public OpcSubscribeEvent(Guid nodeId, OpcEventReceivedEventHandler received)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Sub New(nodeId As Guid, received As OpcEventReceivedEventHandler)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Guid](https://learn.microsoft.com/dotnet/api/system.guid) | The general unique identifier (= GUID) of the node on which the service, who will execute this command, will operate on its [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute. |
| `received` | [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) | The [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) method to assign as the event handler of the [EventReceived](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/members#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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` specified to operate on the [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute.

<div class="api-signature" data-lang="csharp">

```csharp
public OpcSubscribeEvent(int nodeId, OpcEventReceivedEventHandler received)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Sub New(nodeId As Integer, received As OpcEventReceivedEventHandler)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The numeric node identifier of the node on which the service, who will execute this command, will operate on its [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute. |
| `received` | [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) | The [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) method to assign as the event handler of the [EventReceived](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/members#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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` specified to operate on the [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute.

<div class="api-signature" data-lang="csharp">

```csharp
public OpcSubscribeEvent(uint nodeId, OpcEventReceivedEventHandler received)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Sub New(nodeId As UInteger, received As OpcEventReceivedEventHandler)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [UInt32](https://learn.microsoft.com/dotnet/api/system.uint32) | The numeric node identifier of the node on which the service, who will execute this command, will operate on its [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute. |
| `received` | [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) | The [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) method to assign as the event handler of the [EventReceived](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/members#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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` specified to operate on the [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute.

<div class="api-signature" data-lang="csharp">

```csharp
public OpcSubscribeEvent(string nodeId, OpcEventReceivedEventHandler received)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Sub New(nodeId As String, received As OpcEventReceivedEventHandler)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [String](https://learn.microsoft.com/dotnet/api/system.string) | The textual node identifier of the node on which the service, who will execute this command, will operate on its [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute. |
| `received` | [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) | The [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) method to assign as the event handler of the [EventReceived](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/members#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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` specified to operate on the `attribute` defined.

<div class="api-signature" data-lang="csharp">

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

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Sub New(
    nodeId As Byte(),
    attribute As OpcAttribute,
    received As OpcEventReceivedEventHandler)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Byte](https://learn.microsoft.com/dotnet/api/system.byte)[] | The opaque node identifier of the node on which the service, who will execute this command, will operate on its `attribute`. |
| `attribute` | [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) | One of the members defined by the [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) enumeration that defines which node attribute is to be used by the service. |
| `received` | [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) | The [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) method to assign as the event handler of the [EventReceived](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/members#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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` specified to operate on the `attribute` defined.

<div class="api-signature" data-lang="csharp">

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

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Sub New(
    nodeId As Guid,
    attribute As OpcAttribute,
    received As OpcEventReceivedEventHandler)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Guid](https://learn.microsoft.com/dotnet/api/system.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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) | One of the members defined by the [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) enumeration that defines which node attribute is to be used by the service. |
| `received` | [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) | The [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) method to assign as the event handler of the [EventReceived](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/members#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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` specified to operate on the `attribute` defined.

<div class="api-signature" data-lang="csharp">

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

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Sub New(
    nodeId As Integer,
    attribute As OpcAttribute,
    received As OpcEventReceivedEventHandler)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The numeric node identifier of the node on which the service, who will execute this command, will operate on its `attribute`. |
| `attribute` | [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) | One of the members defined by the [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) enumeration that defines which node attribute is to be used by the service. |
| `received` | [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) | The [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) method to assign as the event handler of the [EventReceived](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/members#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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` specified to operate on the `attribute` defined.

<div class="api-signature" data-lang="csharp">

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

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Sub New(
    nodeId As UInteger,
    attribute As OpcAttribute,
    received As OpcEventReceivedEventHandler)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [UInt32](https://learn.microsoft.com/dotnet/api/system.uint32) | The numeric node identifier of the node on which the service, who will execute this command, will operate on its `attribute`. |
| `attribute` | [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) | One of the members defined by the [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) enumeration that defines which node attribute is to be used by the service. |
| `received` | [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) | The [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) method to assign as the event handler of the [EventReceived](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/members#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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` specified to operate on the `attribute` defined.

<div class="api-signature" data-lang="csharp">

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

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Sub New(
    nodeId As String,
    attribute As OpcAttribute,
    received As OpcEventReceivedEventHandler)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [String](https://learn.microsoft.com/dotnet/api/system.string) | The textual node identifier of the node on which the service, who will execute this command, will operate on its `attribute`. |
| `attribute` | [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) | One of the members defined by the [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) enumeration that defines which node attribute is to be used by the service. |
| `received` | [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) | The [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) method to assign as the event handler of the [EventReceived](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/members#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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` and `namespaceIndex` specified to operate on the [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute.

<div class="api-signature" data-lang="csharp">

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

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Sub New(
    nodeId As Byte(),
    namespaceIndex As Integer,
    received As OpcEventReceivedEventHandler)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Byte](https://learn.microsoft.com/dotnet/api/system.byte)[] | The opaque node identifier of the node on which the service, who will execute this command, will operate on its [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |
| `received` | [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) | The [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) method to assign as the event handler of the [EventReceived](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/members#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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` and `namespaceIndex` specified to operate on the [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute.

<div class="api-signature" data-lang="csharp">

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

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Sub New(
    nodeId As Guid,
    namespaceIndex As Integer,
    received As OpcEventReceivedEventHandler)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Guid](https://learn.microsoft.com/dotnet/api/system.guid) | The general unique identifier (= GUID) of the node on which the service, who will execute this command, will operate on its [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |
| `received` | [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) | The [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) method to assign as the event handler of the [EventReceived](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/members#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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` and `namespaceIndex` specified to operate on the [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute.

<div class="api-signature" data-lang="csharp">

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

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Sub New(
    nodeId As Integer,
    namespaceIndex As Integer,
    received As OpcEventReceivedEventHandler)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The numeric node identifier of the node on which the service, who will execute this command, will operate on its [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |
| `received` | [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) | The [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) method to assign as the event handler of the [EventReceived](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/members#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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` and `namespaceIndex` specified to operate on the [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute.

<div class="api-signature" data-lang="csharp">

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

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Sub New(
    nodeId As UInteger,
    namespaceIndex As Integer,
    received As OpcEventReceivedEventHandler)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [UInt32](https://learn.microsoft.com/dotnet/api/system.uint32) | The numeric node identifier of the node on which the service, who will execute this command, will operate on its [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |
| `received` | [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) | The [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) method to assign as the event handler of the [EventReceived](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/members#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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` and `namespaceIndex` specified to operate on the [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute.

<div class="api-signature" data-lang="csharp">

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

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Sub New(
    nodeId As String,
    namespaceIndex As Integer,
    received As OpcEventReceivedEventHandler)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [String](https://learn.microsoft.com/dotnet/api/system.string) | The textual node identifier of the node on which the service, who will execute this command, will operate on its [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |
| `received` | [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) | The [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) method to assign as the event handler of the [EventReceived](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/members#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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` and `namespaceIndex` specified to operate on the `attribute`.

<div class="api-signature" data-lang="csharp">

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

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Sub New(
    nodeId As Byte(),
    namespaceIndex As Integer,
    attribute As OpcAttribute,
    received As OpcEventReceivedEventHandler)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Byte](https://learn.microsoft.com/dotnet/api/system.byte)[] | The opaque node identifier of the node on which the service, who will execute this command, will operate on its `attribute`. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |
| `attribute` | [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) | One of the members defined by the [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) enumeration that defines which node attribute is to be used by the service. |
| `received` | [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) | The [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) method to assign as the event handler of the [EventReceived](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/members#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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` and `namespaceIndex` specified to operate on the `attribute`.

<div class="api-signature" data-lang="csharp">

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

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Sub New(
    nodeId As Guid,
    namespaceIndex As Integer,
    attribute As OpcAttribute,
    received As OpcEventReceivedEventHandler)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Guid](https://learn.microsoft.com/dotnet/api/system.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](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |
| `attribute` | [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) | One of the members defined by the [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) enumeration that defines which node attribute is to be used by the service. |
| `received` | [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) | The [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) method to assign as the event handler of the [EventReceived](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/members#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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` and `namespaceIndex` specified to operate on the `attribute`.

<div class="api-signature" data-lang="csharp">

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

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Sub New(
    nodeId As Integer,
    namespaceIndex As Integer,
    attribute As OpcAttribute,
    received As OpcEventReceivedEventHandler)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The numeric node identifier of the node on which the service, who will execute this command, will operate on its `attribute`. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |
| `attribute` | [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) | One of the members defined by the [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) enumeration that defines which node attribute is to be used by the service. |
| `received` | [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) | The [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) method to assign as the event handler of the [EventReceived](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/members#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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` and `namespaceIndex` specified to operate on the `attribute`.

<div class="api-signature" data-lang="csharp">

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

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Sub New(
    nodeId As UInteger,
    namespaceIndex As Integer,
    attribute As OpcAttribute,
    received As OpcEventReceivedEventHandler)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [UInt32](https://learn.microsoft.com/dotnet/api/system.uint32) | The numeric node identifier of the node on which the service, who will execute this command, will operate on its `attribute`. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |
| `attribute` | [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) | One of the members defined by the [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) enumeration that defines which node attribute is to be used by the service. |
| `received` | [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) | The [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) method to assign as the event handler of the [EventReceived](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/members#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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` and `namespaceIndex` specified to operate on the `attribute`.

<div class="api-signature" data-lang="csharp">

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

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Sub New(
    nodeId As String,
    namespaceIndex As Integer,
    attribute As OpcAttribute,
    received As OpcEventReceivedEventHandler)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [String](https://learn.microsoft.com/dotnet/api/system.string) | The textual node identifier of the node on which the service, who will execute this command, will operate on its `attribute`. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |
| `attribute` | [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) | One of the members defined by the [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) enumeration that defines which node attribute is to be used by the service. |
| `received` | [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) | The [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) method to assign as the event handler of the [EventReceived](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/members#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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` specified to operate on the [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute.

<div class="api-signature" data-lang="csharp">

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

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Sub New(
    nodeId As Byte(),
    filter As OpcEventFilter,
    received As OpcEventReceivedEventHandler)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Byte](https://learn.microsoft.com/dotnet/api/system.byte)[] | The opaque node identifier of the node on which the service, who will execute this command, will operate on its [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute. |
| `filter` | [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventfilter/) | The [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) command. |
| `received` | [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) | The [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) method to assign as the event handler of the [EventReceived](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/members#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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` specified to operate on the [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute.

<div class="api-signature" data-lang="csharp">

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

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Sub New(
    nodeId As Guid,
    filter As OpcEventFilter,
    received As OpcEventReceivedEventHandler)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Guid](https://learn.microsoft.com/dotnet/api/system.guid) | The general unique identifier (= GUID) of the node on which the service, who will execute this command, will operate on its [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute. |
| `filter` | [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventfilter/) | The [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) command. |
| `received` | [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) | The [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) method to assign as the event handler of the [EventReceived](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/members#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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` specified to operate on the [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute.

<div class="api-signature" data-lang="csharp">

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

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Sub New(
    nodeId As Integer,
    filter As OpcEventFilter,
    received As OpcEventReceivedEventHandler)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The numeric node identifier of the node on which the service, who will execute this command, will operate on its [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute. |
| `filter` | [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventfilter/) | The [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) command. |
| `received` | [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) | The [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) method to assign as the event handler of the [EventReceived](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/members#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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` specified to operate on the [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute.

<div class="api-signature" data-lang="csharp">

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

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Sub New(
    nodeId As UInteger,
    filter As OpcEventFilter,
    received As OpcEventReceivedEventHandler)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [UInt32](https://learn.microsoft.com/dotnet/api/system.uint32) | The numeric node identifier of the node on which the service, who will execute this command, will operate on its [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute. |
| `filter` | [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventfilter/) | The [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) command. |
| `received` | [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) | The [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) method to assign as the event handler of the [EventReceived](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/members#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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` specified to operate on the [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute.

<div class="api-signature" data-lang="csharp">

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

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Sub New(
    nodeId As String,
    filter As OpcEventFilter,
    received As OpcEventReceivedEventHandler)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [String](https://learn.microsoft.com/dotnet/api/system.string) | The textual node identifier of the node on which the service, who will execute this command, will operate on its [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute. |
| `filter` | [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventfilter/) | The [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) command. |
| `received` | [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) | The [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) method to assign as the event handler of the [EventReceived](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/members#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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` specified to operate on the `attribute` defined.

<div class="api-signature" data-lang="csharp">

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

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Sub New(
    nodeId As Byte(),
    attribute As OpcAttribute,
    filter As OpcEventFilter,
    received As OpcEventReceivedEventHandler)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Byte](https://learn.microsoft.com/dotnet/api/system.byte)[] | The opaque node identifier of the node on which the service, who will execute this command, will operate on its `attribute`. |
| `attribute` | [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) | One of the members defined by the [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) enumeration that defines which node attribute is to be used by the service. |
| `filter` | [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventfilter/) | The [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) command. |
| `received` | [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) | The [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) method to assign as the event handler of the [EventReceived](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/members#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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` specified to operate on the `attribute` defined.

<div class="api-signature" data-lang="csharp">

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

</div>

<div class="api-signature" data-lang="vbnet">

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

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Guid](https://learn.microsoft.com/dotnet/api/system.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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) | One of the members defined by the [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) enumeration that defines which node attribute is to be used by the service. |
| `filter` | [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventfilter/) | The [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) command. |
| `received` | [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) | The [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) method to assign as the event handler of the [EventReceived](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/members#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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` specified to operate on the `attribute` defined.

<div class="api-signature" data-lang="csharp">

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

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Sub New(
    nodeId As Integer,
    attribute As OpcAttribute,
    filter As OpcEventFilter,
    received As OpcEventReceivedEventHandler)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The numeric node identifier of the node on which the service, who will execute this command, will operate on its `attribute`. |
| `attribute` | [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) | One of the members defined by the [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) enumeration that defines which node attribute is to be used by the service. |
| `filter` | [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventfilter/) | The [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) command. |
| `received` | [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) | The [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) method to assign as the event handler of the [EventReceived](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/members#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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` specified to operate on the `attribute` defined.

<div class="api-signature" data-lang="csharp">

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

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Sub New(
    nodeId As UInteger,
    attribute As OpcAttribute,
    filter As OpcEventFilter,
    received As OpcEventReceivedEventHandler)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [UInt32](https://learn.microsoft.com/dotnet/api/system.uint32) | The numeric node identifier of the node on which the service, who will execute this command, will operate on its `attribute`. |
| `attribute` | [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) | One of the members defined by the [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) enumeration that defines which node attribute is to be used by the service. |
| `filter` | [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventfilter/) | The [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) command. |
| `received` | [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) | The [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) method to assign as the event handler of the [EventReceived](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/members#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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` specified to operate on the `attribute` defined.

<div class="api-signature" data-lang="csharp">

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

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Sub New(
    nodeId As String,
    attribute As OpcAttribute,
    filter As OpcEventFilter,
    received As OpcEventReceivedEventHandler)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [String](https://learn.microsoft.com/dotnet/api/system.string) | The textual node identifier of the node on which the service, who will execute this command, will operate on its `attribute`. |
| `attribute` | [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) | One of the members defined by the [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) enumeration that defines which node attribute is to be used by the service. |
| `filter` | [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventfilter/) | The [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) command. |
| `received` | [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) | The [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) method to assign as the event handler of the [EventReceived](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/members#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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` and `namespaceIndex` specified to operate on the [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute.

<div class="api-signature" data-lang="csharp">

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

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Sub New(
    nodeId As Byte(),
    namespaceIndex As Integer,
    filter As OpcEventFilter,
    received As OpcEventReceivedEventHandler)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Byte](https://learn.microsoft.com/dotnet/api/system.byte)[] | The opaque node identifier of the node on which the service, who will execute this command, will operate on its [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |
| `filter` | [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventfilter/) | The [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) command. |
| `received` | [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) | The [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) method to assign as the event handler of the [EventReceived](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/members#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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` and `namespaceIndex` specified to operate on the [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute.

<div class="api-signature" data-lang="csharp">

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

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Sub New(
    nodeId As Guid,
    namespaceIndex As Integer,
    filter As OpcEventFilter,
    received As OpcEventReceivedEventHandler)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Guid](https://learn.microsoft.com/dotnet/api/system.guid) | The general unique identifier (= GUID) of the node on which the service, who will execute this command, will operate on its [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |
| `filter` | [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventfilter/) | The [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) command. |
| `received` | [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) | The [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) method to assign as the event handler of the [EventReceived](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/members#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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` and `namespaceIndex` specified to operate on the [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute.

<div class="api-signature" data-lang="csharp">

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

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Sub New(
    nodeId As Integer,
    namespaceIndex As Integer,
    filter As OpcEventFilter,
    received As OpcEventReceivedEventHandler)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The numeric node identifier of the node on which the service, who will execute this command, will operate on its [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |
| `filter` | [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventfilter/) | The [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) command. |
| `received` | [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) | The [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) method to assign as the event handler of the [EventReceived](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/members#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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` and `namespaceIndex` specified to operate on the [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute.

<div class="api-signature" data-lang="csharp">

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

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Sub New(
    nodeId As UInteger,
    namespaceIndex As Integer,
    filter As OpcEventFilter,
    received As OpcEventReceivedEventHandler)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [UInt32](https://learn.microsoft.com/dotnet/api/system.uint32) | The numeric node identifier of the node on which the service, who will execute this command, will operate on its [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |
| `filter` | [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventfilter/) | The [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) command. |
| `received` | [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) | The [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) method to assign as the event handler of the [EventReceived](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/members#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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` and `namespaceIndex` specified to operate on the [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute.

<div class="api-signature" data-lang="csharp">

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

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Sub New(
    nodeId As String,
    namespaceIndex As Integer,
    filter As OpcEventFilter,
    received As OpcEventReceivedEventHandler)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [String](https://learn.microsoft.com/dotnet/api/system.string) | The textual node identifier of the node on which the service, who will execute this command, will operate on its [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |
| `filter` | [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventfilter/) | The [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) command. |
| `received` | [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) | The [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) method to assign as the event handler of the [EventReceived](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/members#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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` and `namespaceIndex` specified to operate on the `attribute`.

<div class="api-signature" data-lang="csharp">

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

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Sub New(
    nodeId As Byte(),
    namespaceIndex As Integer,
    attribute As OpcAttribute,
    filter As OpcEventFilter,
    received As OpcEventReceivedEventHandler)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Byte](https://learn.microsoft.com/dotnet/api/system.byte)[] | The opaque node identifier of the node on which the service, who will execute this command, will operate on its `attribute`. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |
| `attribute` | [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) | One of the members defined by the [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) enumeration that defines which node attribute is to be used by the service. |
| `filter` | [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventfilter/) | The [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) command. |
| `received` | [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) | The [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) method to assign as the event handler of the [EventReceived](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/members#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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` and `namespaceIndex` specified to operate on the `attribute`.

<div class="api-signature" data-lang="csharp">

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

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Sub New(
    nodeId As Guid,
    namespaceIndex As Integer,
    attribute As OpcAttribute,
    filter As OpcEventFilter,
    received As OpcEventReceivedEventHandler)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Guid](https://learn.microsoft.com/dotnet/api/system.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](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |
| `attribute` | [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) | One of the members defined by the [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) enumeration that defines which node attribute is to be used by the service. |
| `filter` | [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventfilter/) | The [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) command. |
| `received` | [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) | The [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) method to assign as the event handler of the [EventReceived](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/members#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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` and `namespaceIndex` specified to operate on the `attribute`.

<div class="api-signature" data-lang="csharp">

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

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Sub New(
    nodeId As Integer,
    namespaceIndex As Integer,
    attribute As OpcAttribute,
    filter As OpcEventFilter,
    received As OpcEventReceivedEventHandler)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The numeric node identifier of the node on which the service, who will execute this command, will operate on its `attribute`. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |
| `attribute` | [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) | One of the members defined by the [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) enumeration that defines which node attribute is to be used by the service. |
| `filter` | [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventfilter/) | The [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) command. |
| `received` | [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) | The [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) method to assign as the event handler of the [EventReceived](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/members#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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` and `namespaceIndex` specified to operate on the `attribute`.

<div class="api-signature" data-lang="csharp">

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

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Sub New(
    nodeId As UInteger,
    namespaceIndex As Integer,
    attribute As OpcAttribute,
    filter As OpcEventFilter,
    received As OpcEventReceivedEventHandler)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [UInt32](https://learn.microsoft.com/dotnet/api/system.uint32) | The numeric node identifier of the node on which the service, who will execute this command, will operate on its `attribute`. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |
| `attribute` | [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) | One of the members defined by the [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) enumeration that defines which node attribute is to be used by the service. |
| `filter` | [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventfilter/) | The [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) command. |
| `received` | [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) | The [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) method to assign as the event handler of the [EventReceived](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/members#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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` and `namespaceIndex` specified to operate on the `attribute`.

<div class="api-signature" data-lang="csharp">

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

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Sub New(
    nodeId As String,
    namespaceIndex As Integer,
    attribute As OpcAttribute,
    filter As OpcEventFilter,
    received As OpcEventReceivedEventHandler)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [String](https://learn.microsoft.com/dotnet/api/system.string) | The textual node identifier of the node on which the service, who will execute this command, will operate on its `attribute`. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |
| `attribute` | [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) | One of the members defined by the [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) enumeration that defines which node attribute is to be used by the service. |
| `filter` | [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventfilter/) | The [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) command. |
| `received` | [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) | The [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) method to assign as the event handler of the [EventReceived](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/members#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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` specified to operate on the [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute.

<div class="api-signature" data-lang="csharp">

```csharp
public OpcSubscribeEvent(
    OpcNodeId nodeId,
    OpcEventReceivedEventHandler received)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Sub New(nodeId As OpcNodeId, received As OpcEventReceivedEventHandler)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) | The [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) of the node on which the service, who will execute this command, will operate on its [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute. |
| `received` | [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) | The [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) method to assign as the event handler of the [EventReceived](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/members#eventreceived) event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first. |

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `nodeId` is a null reference (Nothing in Visual Basic). |

#### OpcSubscribeEvent(OpcNodeId, OpcAttribute, OpcEventReceivedEventHandler)

Initializes a new instance of the [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` specified to operate on the `attribute` defined.

<div class="api-signature" data-lang="csharp">

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

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Sub New(
    nodeId As OpcNodeId,
    attribute As OpcAttribute,
    received As OpcEventReceivedEventHandler)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) | The [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) of the node on which the service, who will execute this command, will operate on its `attribute`. |
| `attribute` | [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) | One of the members defined by the [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) enumeration that defines which node attribute is to be used by the service. |
| `received` | [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) | The [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) method to assign as the event handler of the [EventReceived](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/members#eventreceived) event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first. |

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `nodeId` is a null reference (Nothing in Visual Basic). |

#### OpcSubscribeEvent(OpcNodeId, OpcEventFilter, OpcEventReceivedEventHandler)

Initializes a new instance of the [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` specified to operate on the [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute.

<div class="api-signature" data-lang="csharp">

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

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Sub New(
    nodeId As OpcNodeId,
    filter As OpcEventFilter,
    received As OpcEventReceivedEventHandler)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) | The [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) of the node on which the service, who will execute this command, will operate on its [EventNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#eventnotifier) attribute. |
| `filter` | [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventfilter/) | The [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) command. |
| `received` | [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) | The [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) method to assign as the event handler of the [EventReceived](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/members#eventreceived) event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first. |

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `nodeId` is a null reference (Nothing in Visual Basic). |

#### OpcSubscribeEvent(OpcNodeId, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)

Initializes a new instance of the [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) class using the `nodeId` specified to operate on the `attribute` defined.

<div class="api-signature" data-lang="csharp">

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

</div>

<div class="api-signature" data-lang="vbnet">

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

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) | The [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) of the node on which the service, who will execute this command, will operate on its `attribute`. |
| `attribute` | [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) | One of the members defined by the [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) enumeration that defines which node attribute is to be used by the service. |
| `filter` | [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventfilter/) | The [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.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](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/) command. |
| `received` | [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) | The [OpcEventReceivedEventHandler](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opceventreceivedeventhandler/) method to assign as the event handler of the [EventReceived](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/members#eventreceived) event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first. |

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `nodeId` is a null reference (Nothing in Visual Basic). |
