# OpcEventTypes Members

> Reference: Provides additional metadata and service routines for the different types of events supported and defined by the OPC UA Foundation Stack.

<dl class="api-definition">
<dt>Type</dt>
<dd><a href="./">OpcEventTypes</a></dd>
<dt>Namespace</dt>
<dd><a href="../namespaces/opc.uafx">Opc.UaFx</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>

## Fields

### AcknowledgeableCondition

<span class="api-meta">static</span>

Provides the identifier used by event nodes representing the event type [AcknowledgeableCondition](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventtype/#acknowledgeablecondition).

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

```csharp
public static readonly OpcNodeId AcknowledgeableCondition
```

</div>

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

```vbnet
Public Shared ReadOnly AcknowledgeableCondition As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### AlarmCondition

<span class="api-meta">static</span>

Provides the identifier used by event nodes representing the event type [AlarmCondition](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventtype/#alarmcondition).

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

```csharp
public static readonly OpcNodeId AlarmCondition
```

</div>

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

```vbnet
Public Shared ReadOnly AlarmCondition As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### Condition

<span class="api-meta">static</span>

Provides the identifier used by event nodes representing the event type [Condition](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventtype/#condition).

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

```csharp
public static readonly OpcNodeId Condition
```

</div>

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

```vbnet
Public Shared ReadOnly Condition As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### DialogCondition

<span class="api-meta">static</span>

Provides the identifier used by event nodes representing the event type [DialogCondition](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventtype/#dialogcondition).

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

```csharp
public static readonly OpcNodeId DialogCondition
```

</div>

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

```vbnet
Public Shared ReadOnly DialogCondition As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### DiscreteAlarm

<span class="api-meta">static</span>

Provides the identifier used by event nodes representing the event type [DiscreteAlarm](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventtype/#discretealarm).

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

```csharp
public static readonly OpcNodeId DiscreteAlarm
```

</div>

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

```vbnet
Public Shared ReadOnly DiscreteAlarm As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### Event

<span class="api-meta">static</span>

Provides the identifier used by event nodes representing the event type [Event](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventtype/#event).

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

```csharp
public static readonly OpcNodeId Event
```

</div>

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

```vbnet
Public Shared ReadOnly [Event] As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### ExclusiveDeviationAlarm

<span class="api-meta">static</span>

Provides the identifier used by event nodes representing the event type [ExclusiveDeviationAlarm](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventtype/#exclusivedeviationalarm).

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

```csharp
public static readonly OpcNodeId ExclusiveDeviationAlarm
```

</div>

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

```vbnet
Public Shared ReadOnly ExclusiveDeviationAlarm As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### ExclusiveLevelAlarm

<span class="api-meta">static</span>

Provides the identifier used by event nodes representing the event type [ExclusiveLevelAlarm](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventtype/#exclusivelevelalarm).

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

```csharp
public static readonly OpcNodeId ExclusiveLevelAlarm
```

</div>

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

```vbnet
Public Shared ReadOnly ExclusiveLevelAlarm As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### ExclusiveLimitAlarm

<span class="api-meta">static</span>

Provides the identifier used by event nodes representing the event type [ExclusiveLimitAlarm](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventtype/#exclusivelimitalarm).

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

```csharp
public static readonly OpcNodeId ExclusiveLimitAlarm
```

</div>

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

```vbnet
Public Shared ReadOnly ExclusiveLimitAlarm As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### ExclusiveRateOfChangeAlarm

<span class="api-meta">static</span>

Provides the identifier used by event nodes representing the event type [ExclusiveRateOfChangeAlarm](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventtype/#exclusiverateofchangealarm).

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

```csharp
public static readonly OpcNodeId ExclusiveRateOfChangeAlarm
```

</div>

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

```vbnet
Public Shared ReadOnly ExclusiveRateOfChangeAlarm As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### GeneralModelChange

<span class="api-meta">static · since v2.22</span>

Provides the identifier used by event nodes representing the event type [GeneralModelChange](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventtype/#generalmodelchange).

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

```csharp
public static readonly OpcNodeId GeneralModelChange
```

</div>

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

```vbnet
Public Shared ReadOnly GeneralModelChange As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### LimitAlarm

<span class="api-meta">static</span>

Provides the identifier used by event nodes representing the event type [LimitAlarm](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventtype/#limitalarm).

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

```csharp
public static readonly OpcNodeId LimitAlarm
```

</div>

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

```vbnet
Public Shared ReadOnly LimitAlarm As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### ModelChange

<span class="api-meta">static · since v2.22</span>

Provides the identifier used by event nodes representing the event type [ModelChange](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventtype/#modelchange).

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

```csharp
public static readonly OpcNodeId ModelChange
```

</div>

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

```vbnet
Public Shared ReadOnly ModelChange As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### NonExclusiveDeviationAlarm

<span class="api-meta">static</span>

Provides the identifier used by event nodes representing the event type [NonExclusiveDeviationAlarm](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventtype/#nonexclusivedeviationalarm).

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

```csharp
public static readonly OpcNodeId NonExclusiveDeviationAlarm
```

</div>

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

```vbnet
Public Shared ReadOnly NonExclusiveDeviationAlarm As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### NonExclusiveLevelAlarm

<span class="api-meta">static</span>

Provides the identifier used by event nodes representing the event type [NonExclusiveLevelAlarm](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventtype/#nonexclusivelevelalarm).

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

```csharp
public static readonly OpcNodeId NonExclusiveLevelAlarm
```

</div>

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

```vbnet
Public Shared ReadOnly NonExclusiveLevelAlarm As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### NonExclusiveLimitAlarm

<span class="api-meta">static</span>

Provides the identifier used by event nodes representing the event type [NonExclusiveLimitAlarm](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventtype/#nonexclusivelimitalarm).

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

```csharp
public static readonly OpcNodeId NonExclusiveLimitAlarm
```

</div>

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

```vbnet
Public Shared ReadOnly NonExclusiveLimitAlarm As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### NonExclusiveRateOfChangeAlarm

<span class="api-meta">static</span>

Provides the identifier used by event nodes representing the event type [NonExclusiveRateOfChangeAlarm](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventtype/#nonexclusiverateofchangealarm).

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

```csharp
public static readonly OpcNodeId NonExclusiveRateOfChangeAlarm
```

</div>

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

```vbnet
Public Shared ReadOnly NonExclusiveRateOfChangeAlarm As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### OffNormalAlarm

<span class="api-meta">static</span>

Provides the identifier used by event nodes representing the event type [OffNormalAlarm](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventtype/#offnormalalarm).

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

```csharp
public static readonly OpcNodeId OffNormalAlarm
```

</div>

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

```vbnet
Public Shared ReadOnly OffNormalAlarm As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

### TripAlarm

<span class="api-meta">static</span>

Provides the identifier used by event nodes representing the event type [TripAlarm](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventtype/#tripalarm).

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

```csharp
public static readonly OpcNodeId TripAlarm
```

</div>

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

```vbnet
Public Shared ReadOnly TripAlarm As OpcNodeId
```

</div>

**Field value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

## Methods

### GetEventType

<span class="api-meta">static</span>

Retrieves the according [OpcEventType](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventtype/) enumeration member for the `nodeId` used by an event node.

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

```csharp
public static OpcEventType? GetEventType(OpcNodeId nodeId)
```

</div>

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

```vbnet
Public Shared Function GetEventType(nodeId As OpcNodeId) As OpcEventType?
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) | The identifier of the type definition (see 'Opc.UaFx.OpcInstanceNode.TypeDefinitionId' or 'Opc.UaFx.OpcEventNode.EventTypeId') of an event node. |

**Returns**

[Nullable](https://learn.microsoft.com/dotnet/api/system.nullable-1)&lt;[OpcEventType](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventtype/)&gt;

One of the members defined by the [OpcEventType](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventtype/) enumeration which represents the type identifier specified or a null reference (Nothing in Visual Basic) if the specific type of event can't be determined.

### GetNodeId

<span class="api-meta">static</span>

Retrieves the according [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) for the type of event defined by the [OpcEventType](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventtype/) specified by `type`.

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

```csharp
public static OpcNodeId GetNodeId(OpcEventType type)
```

</div>

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

```vbnet
Public Shared Function GetNodeId(type As OpcEventType) As OpcNodeId
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `type` | [OpcEventType](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventtype/) | The [OpcEventType](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventtype/) value from which the according [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) of the event type is to be determined. |

**Returns**

[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 event type the `type` refer to or a null reference (Nothing in Visual Basic) if the `type` is not a foundation defined event type.
