# OpcActionMethodNode Class

> Reference: Defines a method node using a Action delegate.

<dl class="api-definition">
<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>Members</dt>
<dd><a href="./members">OpcActionMethodNode Members</a></dd>
</dl>

Defines a method node using a [Action](https://learn.microsoft.com/dotnet/api/system.action) delegate.

## Syntax

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

```csharp
public class OpcActionMethodNode : OpcMethodNode
```

</div>

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

```vbnet
Public Class OpcActionMethodNode
    Inherits OpcMethodNode
```

</div>

## Inheritance

[Object](https://learn.microsoft.com/dotnet/api/system.object) → [OpcNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnode/) → [OpcInstanceNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcinstancenode/) → [OpcMethodNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmethodnode/) → **OpcActionMethodNode**

## Implements

<ul class="api-implements">
<li><a href="../opc.uafx.iopcnode/">IOpcNode</a></li>
<li><a href="../opc.uafx.iopcnodeinfo/">IOpcNodeInfo</a></li>
</ul>

## Constructors

| Name | Description |
|---|---|
| [OpcActionMethodNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcactionmethodnode/members#opcactionmethodnode)<span class="api-meta">8 overloads</span> | Initializes a new instance of the OpcActionMethodNode class accessible by the `name` specified with the [Action](https://learn.microsoft.com/dotnet/api/system.action) call given by `callback`. |

Inherits members from [OpcMethodNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmethodnode/members), [OpcInstanceNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcinstancenode/members), [OpcNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnode/members).

## Applies to

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