# OpcConditionNodeExtension Members

> Reference: Provides static (Shared in Visual Basic) extension methods to manage OpcConditionNode objects.

<dl class="api-definition">
<dt>Type</dt>
<dd><a href="./">OpcConditionNodeExtension</a></dd>
<dt>Namespace</dt>
<dd><a href="../namespaces/opc.uafx.server">Opc.UaFx.Server</a></dd>
<dt>Assembly</dt>
<dd>Opc.UaFx.Advanced.dll</dd>
<dt>Package</dt>
<dd>Opc.UaFx.Advanced v2.59.0</dd>
</dl>

## Methods

### ActivateDialog

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

Activates the dialog of the `conditionNode` specified using the further specified `context`.

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

```csharp
public static void ActivateDialog(
    this OpcDialogConditionNode conditionNode,
    OpcContext context)
```

</div>

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

```vbnet
Public Shared Sub ActivateDialog(
    conditionNode As OpcDialogConditionNode,
    context As OpcContext)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `conditionNode` | [OpcDialogConditionNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdialogconditionnode/) | The [OpcDialogConditionNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdialogconditionnode/) its [IsActive](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdialogconditionnode/members#isactive) is to be modified. |
| `context` | [OpcContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccontext/) | The [OpcContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccontext/) to use to respond. |

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `conditionNode` or `context` is a null reference (Nothing in Visual Basic). |
| [InvalidOperationException](https://learn.microsoft.com/dotnet/api/system.invalidoperationexception) | The node has not yet been fully initialized. Call this method after the node has been initialized through [CreateNodes](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcnodemanager/members#createnodes). |
| [OpcException](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcexception/) | The activate operation failed (see exception details for more information). |

### ChangeComment

<span class="api-meta">static · 2 overloads</span>

| Overload | Description |
|---|---|
| [ChangeComment(OpcConditionNode, OpcContext, OpcText)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcconditionnodeextension/members#changecomment-opc-uafx-opcconditionnode-opc-uafx-opccontext-opc-uafx-opctext)<span class="api-meta">static</span> | Changes the condition 'Comment' state of the `conditionNode` specified using the further specified `context` without raising change events. |
| [ChangeComment(OpcConditionNode, OpcContext, OpcText, string)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcconditionnodeextension/members#changecomment-opc-uafx-opcconditionnode-opc-uafx-opccontext-opc-uafx-opctext-system-string)<span class="api-meta">static</span> | Changes the condition 'Comment' state of the `conditionNode` specified using the further specified `context` without raising change events. |

**Exceptions (all overloads)**

| Exception | Condition |
|---|---|
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `conditionNode` or `context` is a null reference (Nothing in Visual Basic). |
| [InvalidOperationException](https://learn.microsoft.com/dotnet/api/system.invalidoperationexception) | The node has not yet been fully initialized. Call this method after the node has been initialized through [CreateNodes](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcnodemanager/members#createnodes). |
| [OpcException](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcexception/) | The state change failed (see exception details for more information). |

#### ChangeComment(OpcConditionNode, OpcContext, OpcText)

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

Changes the condition 'Comment' state of the `conditionNode` specified using the further specified `context` without raising change events.

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

```csharp
public static void ChangeComment(
    this OpcConditionNode conditionNode,
    OpcContext context,
    OpcText value)
```

</div>

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

```vbnet
Public Shared Sub ChangeComment(
    conditionNode As OpcConditionNode,
    context As OpcContext,
    value As OpcText)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `conditionNode` | [OpcConditionNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcconditionnode/) | The [OpcConditionNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcconditionnode/) its 'Comment' state is to be changed. |
| `context` | [OpcContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccontext/) | The [OpcContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccontext/) to use to change the state. |
| `value` | [OpcText](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opctext/) | The new value to use for the 'Comment' state of the `conditionNode`. |

**Remarks**

This method uses the [Identity](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccontext/members#identity) to determine the 'ClientUserId' to use after changing the 'Comment' state.

#### ChangeComment(OpcConditionNode, OpcContext, OpcText, string)

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

Changes the condition 'Comment' state of the `conditionNode` specified using the further specified `context` without raising change events.

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

```csharp
public static void ChangeComment(
    this OpcConditionNode conditionNode,
    OpcContext context,
    OpcText value,
    string clientUserId)
```

</div>

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

```vbnet
Public Shared Sub ChangeComment(
    conditionNode As OpcConditionNode,
    context As OpcContext,
    value As OpcText,
    clientUserId As String)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `conditionNode` | [OpcConditionNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcconditionnode/) | The [OpcConditionNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcconditionnode/) its 'Comment' state is to be changed. |
| `context` | [OpcContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccontext/) | The [OpcContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccontext/) to use to change the state. |
| `value` | [OpcText](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opctext/) | The new value to use for the 'Comment' state of the `conditionNode`. |
| `clientUserId` | [String](https://learn.microsoft.com/dotnet/api/system.string) | The identifier to use for the 'ClientUserId' of the condition node after changing the 'Comment' state. |

### ChangeIsAcked

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

Changes the condition 'Acked' state of the `conditionNode` specified using the further specified `context` without raising change events.

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

```csharp
public static void ChangeIsAcked(
    this OpcAcknowledgeableConditionNode conditionNode,
    OpcContext context,
    bool value)
```

</div>

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

```vbnet
Public Shared Sub ChangeIsAcked(
    conditionNode As OpcAcknowledgeableConditionNode,
    context As OpcContext,
    value As Boolean)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `conditionNode` | [OpcAcknowledgeableConditionNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcacknowledgeableconditionnode/) | The [OpcAcknowledgeableConditionNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcacknowledgeableconditionnode/) its 'Acked' state is to be changed. |
| `context` | [OpcContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccontext/) | The [OpcContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccontext/) to use to change the state. |
| `value` | [Boolean](https://learn.microsoft.com/dotnet/api/system.boolean) | The value true to change the condition 'Acked' state to acknowledged; otherwise the value false. |

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `conditionNode` or `context` is a null reference (Nothing in Visual Basic). |
| [InvalidOperationException](https://learn.microsoft.com/dotnet/api/system.invalidoperationexception) | The node has not yet been fully initialized. Call this method after the node has been initialized through [CreateNodes](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcnodemanager/members#createnodes). |
| [OpcException](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcexception/) | The state change failed (see exception details for more information). |

### ChangeIsActive

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

Changes the condition 'Active' state of the `conditionNode` specified using the further specified `context` without raising change events.

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

```csharp
public static void ChangeIsActive(
    this OpcAlarmConditionNode conditionNode,
    OpcContext context,
    bool value)
```

</div>

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

```vbnet
Public Shared Sub ChangeIsActive(
    conditionNode As OpcAlarmConditionNode,
    context As OpcContext,
    value As Boolean)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `conditionNode` | [OpcAlarmConditionNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcalarmconditionnode/) | The [OpcAlarmConditionNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcalarmconditionnode/) its 'Active' state is to be changed. |
| `context` | [OpcContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccontext/) | The [OpcContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccontext/) to use to change the state. |
| `value` | [Boolean](https://learn.microsoft.com/dotnet/api/system.boolean) | The value true to change the condition 'Active' state to active; otherwise the value false. |

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `conditionNode` or `context` is a null reference (Nothing in Visual Basic). |
| [InvalidOperationException](https://learn.microsoft.com/dotnet/api/system.invalidoperationexception) | The node has not yet been fully initialized. Call this method after the node has been initialized through [CreateNodes](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcnodemanager/members#createnodes). |
| [OpcException](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcexception/) | The state change failed (see exception details for more information). |

### ChangeIsConfirmed

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

Changes the condition 'Confirmed' state of the `conditionNode` specified using the further specified `context` without raising change events.

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

```csharp
public static void ChangeIsConfirmed(
    this OpcAcknowledgeableConditionNode conditionNode,
    OpcContext context,
    bool value)
```

</div>

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

```vbnet
Public Shared Sub ChangeIsConfirmed(
    conditionNode As OpcAcknowledgeableConditionNode,
    context As OpcContext,
    value As Boolean)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `conditionNode` | [OpcAcknowledgeableConditionNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcacknowledgeableconditionnode/) | The [OpcAcknowledgeableConditionNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcacknowledgeableconditionnode/) its 'Confirmed' state is to be changed. |
| `context` | [OpcContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccontext/) | The [OpcContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccontext/) to use to change the state. |
| `value` | [Boolean](https://learn.microsoft.com/dotnet/api/system.boolean) | The value true to change the condition 'Confirmed' state to confirmed; otherwise the value false. |

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `conditionNode` or `context` is a null reference (Nothing in Visual Basic). |
| [InvalidOperationException](https://learn.microsoft.com/dotnet/api/system.invalidoperationexception) | The node has not yet been fully initialized. Call this method after the node has been initialized through [CreateNodes](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcnodemanager/members#createnodes). |
| [OpcException](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcexception/) | The state change failed (see exception details for more information). |

### ChangeIsEnabled

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

Changes the condition 'Enabled' state of the `conditionNode` specified using the further specified `context` without raising change events.

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

```csharp
public static void ChangeIsEnabled(
    this OpcConditionNode conditionNode,
    OpcContext context,
    bool value)
```

</div>

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

```vbnet
Public Shared Sub ChangeIsEnabled(
    conditionNode As OpcConditionNode,
    context As OpcContext,
    value As Boolean)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `conditionNode` | [OpcConditionNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcconditionnode/) | The [OpcConditionNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcconditionnode/) its 'Enabled' state is to be changed. |
| `context` | [OpcContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccontext/) | The [OpcContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccontext/) to use to change the state. |
| `value` | [Boolean](https://learn.microsoft.com/dotnet/api/system.boolean) | The value true to change the condition 'Enabled' state to enabled; otherwise the value false. |

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `conditionNode` or `context` is a null reference (Nothing in Visual Basic). |
| [InvalidOperationException](https://learn.microsoft.com/dotnet/api/system.invalidoperationexception) | The node has not yet been fully initialized. Call this method after the node has been initialized through [CreateNodes](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcnodemanager/members#createnodes). |
| [OpcException](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcexception/) | The state change failed (see exception details for more information). |

### ChangeIsSuppressed

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

Changes the condition 'Suppressed' state of the `conditionNode` specified using the further specified `context` without raising change events.

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

```csharp
public static void ChangeIsSuppressed(
    this OpcAlarmConditionNode conditionNode,
    OpcContext context,
    bool value)
```

</div>

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

```vbnet
Public Shared Sub ChangeIsSuppressed(
    conditionNode As OpcAlarmConditionNode,
    context As OpcContext,
    value As Boolean)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `conditionNode` | [OpcAlarmConditionNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcalarmconditionnode/) | The [OpcAlarmConditionNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcalarmconditionnode/) its 'Suppressed' state is to be changed. |
| `context` | [OpcContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccontext/) | The [OpcContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccontext/) to use to change the state. |
| `value` | [Boolean](https://learn.microsoft.com/dotnet/api/system.boolean) | The value true to change the condition 'Suppressed' state to suppressed; otherwise the value false. |

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `conditionNode` or `context` is a null reference (Nothing in Visual Basic). |
| [InvalidOperationException](https://learn.microsoft.com/dotnet/api/system.invalidoperationexception) | The node has not yet been fully initialized. Call this method after the node has been initialized through [CreateNodes](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcnodemanager/members#createnodes). |
| [OpcException](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcexception/) | The state change failed (see exception details for more information). |

### ChangeLimitState

<span class="api-meta">static · 2 overloads</span>

| Overload | Description |
|---|---|
| [ChangeLimitState(OpcExclusiveLimitAlarmNode, OpcContext, OpcLimitAlarmStates)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcconditionnodeextension/members#changelimitstate-opc-uafx-opcexclusivelimitalarmnode-opc-uafx-opccontext-opc-uafx-opclimitalarmstates)<span class="api-meta">static</span> | Changes the condition current limit alarm state of the `conditionNode` specified using the further specified `context`. |
| [ChangeLimitState(OpcNonExclusiveLimitAlarmNode, OpcContext, OpcLimitAlarmStates)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcconditionnodeextension/members#changelimitstate-opc-uafx-opcnonexclusivelimitalarmnode-opc-uafx-opccontext-opc-uafx-opclimitalarmstates)<span class="api-meta">static</span> | Changes the condition current limit alarm state of the `conditionNode` specified using the further specified `context`. |

**Exceptions (all overloads)**

| Exception | Condition |
|---|---|
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `conditionNode` or `context` is a null reference (Nothing in Visual Basic). |
| [InvalidOperationException](https://learn.microsoft.com/dotnet/api/system.invalidoperationexception) | The node has not yet been fully initialized. Call this method after the node has been initialized through [CreateNodes](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcnodemanager/members#createnodes). |
| [OpcException](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcexception/) | The limit alarm state change failed (see exception details for more information). |

#### ChangeLimitState(OpcExclusiveLimitAlarmNode, OpcContext, OpcLimitAlarmStates)

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

Changes the condition current limit alarm state of the `conditionNode` specified using the further specified `context`.

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

```csharp
public static void ChangeLimitState(
    this OpcExclusiveLimitAlarmNode conditionNode,
    OpcContext context,
    OpcLimitAlarmStates value)
```

</div>

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

```vbnet
Public Shared Sub ChangeLimitState(
    conditionNode As OpcExclusiveLimitAlarmNode,
    context As OpcContext,
    value As OpcLimitAlarmStates)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `conditionNode` | [OpcExclusiveLimitAlarmNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcexclusivelimitalarmnode/) | The [OpcExclusiveLimitAlarmNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcexclusivelimitalarmnode/) its current limit alarm state is to be changed. |
| `context` | [OpcContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccontext/) | The [OpcContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccontext/) to use to change the current limit alarm state. |
| `value` | [OpcLimitAlarmStates](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opclimitalarmstates/) | A value of the [OpcLimitAlarmStates](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opclimitalarmstates/) enumeration to apply as the new limit alarm state. |

#### ChangeLimitState(OpcNonExclusiveLimitAlarmNode, OpcContext, OpcLimitAlarmStates)

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

Changes the condition current limit alarm state of the `conditionNode` specified using the further specified `context`.

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

```csharp
public static void ChangeLimitState(
    this OpcNonExclusiveLimitAlarmNode conditionNode,
    OpcContext context,
    OpcLimitAlarmStates value)
```

</div>

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

```vbnet
Public Shared Sub ChangeLimitState(
    conditionNode As OpcNonExclusiveLimitAlarmNode,
    context As OpcContext,
    value As OpcLimitAlarmStates)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `conditionNode` | [OpcNonExclusiveLimitAlarmNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnonexclusivelimitalarmnode/) | The [OpcNonExclusiveLimitAlarmNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnonexclusivelimitalarmnode/) its current limit alarm state is to be changed. |
| `context` | [OpcContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccontext/) | The [OpcContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccontext/) to use to change the current limit alarm state. |
| `value` | [OpcLimitAlarmStates](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opclimitalarmstates/) | A value of the [OpcLimitAlarmStates](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opclimitalarmstates/) enumeration to apply as the new limit alarm state. |

### ChangeSeverity

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

Changes the condition 'Severity' of the `conditionNode` specified using the further specified `context` without raising change events.

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

```csharp
public static void ChangeSeverity(
    this OpcConditionNode conditionNode,
    OpcContext context,
    OpcEventSeverity value)
```

</div>

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

```vbnet
Public Shared Sub ChangeSeverity(
    conditionNode As OpcConditionNode,
    context As OpcContext,
    value As OpcEventSeverity)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `conditionNode` | [OpcConditionNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcconditionnode/) | The [OpcConditionNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcconditionnode/) its 'Severity' is to be changed. |
| `context` | [OpcContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccontext/) | The [OpcContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccontext/) to use to change the severity. |
| `value` | [OpcEventSeverity](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventseverity/) | The [OpcEventSeverity](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventseverity/) to change to. |

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `conditionNode` or `context` is a null reference (Nothing in Visual Basic). |
| [InvalidOperationException](https://learn.microsoft.com/dotnet/api/system.invalidoperationexception) | The node has not yet been fully initialized. Call this method after the node has been initialized through [CreateNodes](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcnodemanager/members#createnodes). |
| [OpcException](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcexception/) | The severity change failed (see exception details for more information). |

### ChangeShelving

<span class="api-meta">static · 3 overloads</span>

| Overload | Description |
|---|---|
| [ChangeShelving(OpcAlarmConditionNode, OpcContext, bool)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcconditionnodeextension/members#changeshelving-opc-uafx-opcalarmconditionnode-opc-uafx-opccontext-system-boolean)<span class="api-meta">static</span> | Changes the condition 'Shelving' of the `conditionNode` specified using the further specified `context`. |
| [ChangeShelving(OpcAlarmConditionNode, OpcContext, bool, bool)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcconditionnodeextension/members#changeshelving-opc-uafx-opcalarmconditionnode-opc-uafx-opccontext-system-boolean-system-boolean)<span class="api-meta">static</span> | Changes the condition 'Shelving' of the `conditionNode` specified using the further specified `context`. |
| [ChangeShelving(OpcAlarmConditionNode, OpcContext, bool, bool, TimeSpan)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcconditionnodeextension/members#changeshelving-opc-uafx-opcalarmconditionnode-opc-uafx-opccontext-system-boolean-system-boolean-system-timespan)<span class="api-meta">static</span> | Changes the condition 'Shelving' of the `conditionNode` specified using the further specified `context`. |

**Exceptions (all overloads)**

| Exception | Condition |
|---|---|
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `conditionNode` or `context` is a null reference (Nothing in Visual Basic). |
| [InvalidOperationException](https://learn.microsoft.com/dotnet/api/system.invalidoperationexception) | The node has not yet been fully initialized. Call this method after the node has been initialized through [CreateNodes](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcnodemanager/members#createnodes). |
| [OpcException](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcexception/) | The shelving change failed (see exception details for more information). |

#### ChangeShelving(OpcAlarmConditionNode, OpcContext, bool)

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

Changes the condition 'Shelving' of the `conditionNode` specified using the further specified `context`.

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

```csharp
public static void ChangeShelving(
    this OpcAlarmConditionNode conditionNode,
    OpcContext context,
    bool shelved)
```

</div>

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

```vbnet
Public Shared Sub ChangeShelving(
    conditionNode As OpcAlarmConditionNode,
    context As OpcContext,
    shelved As Boolean)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `conditionNode` | [OpcAlarmConditionNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcalarmconditionnode/) | The [OpcAlarmConditionNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcalarmconditionnode/) its 'Shelving' is to be changed. |
| `context` | [OpcContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccontext/) | The [OpcContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccontext/) to use to change the shelving. |
| `shelved` | [Boolean](https://learn.microsoft.com/dotnet/api/system.boolean) | The value true to shelve the condition; otherwise the value false. |

#### ChangeShelving(OpcAlarmConditionNode, OpcContext, bool, bool)

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

Changes the condition 'Shelving' of the `conditionNode` specified using the further specified `context`.

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

```csharp
public static void ChangeShelving(
    this OpcAlarmConditionNode conditionNode,
    OpcContext context,
    bool shelved,
    bool oneShot)
```

</div>

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

```vbnet
Public Shared Sub ChangeShelving(
    conditionNode As OpcAlarmConditionNode,
    context As OpcContext,
    shelved As Boolean,
    oneShot As Boolean)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `conditionNode` | [OpcAlarmConditionNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcalarmconditionnode/) | The [OpcAlarmConditionNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcalarmconditionnode/) its 'Shelving' is to be changed. |
| `context` | [OpcContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccontext/) | The [OpcContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccontext/) to use to change the shelving. |
| `shelved` | [Boolean](https://learn.microsoft.com/dotnet/api/system.boolean) | The value true to shelve the condition; otherwise the value false. |
| `oneShot` | [Boolean](https://learn.microsoft.com/dotnet/api/system.boolean) | The value true if the shelving only applies once; otherwise the value false. |

#### ChangeShelving(OpcAlarmConditionNode, OpcContext, bool, bool, TimeSpan)

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

Changes the condition 'Shelving' of the `conditionNode` specified using the further specified `context`.

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

```csharp
public static void ChangeShelving(
    this OpcAlarmConditionNode conditionNode,
    OpcContext context,
    bool shelved,
    bool oneShot,
    TimeSpan shelvingTime)
```

</div>

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

```vbnet
Public Shared Sub ChangeShelving(
    conditionNode As OpcAlarmConditionNode,
    context As OpcContext,
    shelved As Boolean,
    oneShot As Boolean,
    shelvingTime As TimeSpan)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `conditionNode` | [OpcAlarmConditionNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcalarmconditionnode/) | The [OpcAlarmConditionNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcalarmconditionnode/) its 'Shelving' is to be changed. |
| `context` | [OpcContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccontext/) | The [OpcContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccontext/) to use to change the shelving. |
| `shelved` | [Boolean](https://learn.microsoft.com/dotnet/api/system.boolean) | The value true to shelve the condition; otherwise the value false. |
| `oneShot` | [Boolean](https://learn.microsoft.com/dotnet/api/system.boolean) | The value true if the shelving only applies once; otherwise the value false. |
| `shelvingTime` | [TimeSpan](https://learn.microsoft.com/dotnet/api/system.timespan) | The time as long the shelving applies. |

### RespondDialog

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

Changes the dialog response of the `conditionNode` specified using the further specified `context`.

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

```csharp
public static void RespondDialog(
    this OpcDialogConditionNode conditionNode,
    OpcContext context,
    int response)
```

</div>

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

```vbnet
Public Shared Sub RespondDialog(
    conditionNode As OpcDialogConditionNode,
    context As OpcContext,
    response As Integer)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `conditionNode` | [OpcDialogConditionNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdialogconditionnode/) | The [OpcDialogConditionNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdialogconditionnode/) its [IsActive](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdialogconditionnode/members#isactive) and [LastResponse](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdialogconditionnode/members#lastresponse) is to be modified. |
| `context` | [OpcContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccontext/) | The [OpcContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccontext/) to use to respond. |
| `response` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the item in the [ResponseOptions](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdialogconditionnode/members#responseoptions). |

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `conditionNode` or `context` is a null reference (Nothing in Visual Basic). |
| [InvalidOperationException](https://learn.microsoft.com/dotnet/api/system.invalidoperationexception) | The node has not yet been fully initialized. Call this method after the node has been initialized through [CreateNodes](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcnodemanager/members#createnodes). |
| [OpcException](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcexception/) | The respond operation failed (see exception details for more information). |
