# OpcSubscribeEvent Class

<dl class="api-definition">
<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>Members</dt>
<dd><a href="./members">OpcSubscribeEvent Members</a></dd>
<dt>Also in</dt>
<dd>Opc.UaFx.Client</dd>
</dl>

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.

## Syntax

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

```csharp
public class OpcSubscribeEvent : OpcSubscribeNode
```

</div>

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

```vbnet
Public Class OpcSubscribeEvent
    Inherits OpcSubscribeNode
```

</div>

## Inheritance

[Object](https://learn.microsoft.com/dotnet/api/system.object) → [OpcServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcservicecommand/) → [OpcNodeServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/) → [OpcNodeAttributeServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeattributeservicecommand/) → [OpcSubscribeNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribenode/) → **OpcSubscribeEvent**

## Constructors

| Name | Description |
|---|---|
| [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/members#opcsubscribeevent)<span class="api-meta">44 overloads</span> | Initializes a new instance of the 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. |

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

## Applies to

| Package | Versions |
|---|---|
| Opc.UaFx.Advanced | v2.5–v2.59 |
