# OpcMethodCommands Class

> Reference: Provides a set of static (Shared in Visual Basic) IOpcMethodCommand instances.

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

<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">OpcMethodCommands Members</a></dd>
</dl>

Provides a set of static (Shared in Visual Basic) [IOpcMethodCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.iopcmethodcommand/) instances.

## Syntax

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

```csharp
public static class OpcMethodCommands
```

</div>

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

```vbnet
Public Module OpcMethodCommands
```

</div>

## Inheritance

[Object](https://learn.microsoft.com/dotnet/api/system.object) → **OpcMethodCommands**

## Properties

| Name | Description |
|---|---|
| [NotImplemented](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmethodcommands/members#notimplemented)<span class="api-meta">static</span> | Gets an [IOpcMethodCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.iopcmethodcommand/) its executability evaluates to the value true while its implementation always returns the OPC UA related [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) using the [OpcStatusCode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/) member [BadNotImplemented](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnotimplemented). |

## Methods

| Name | Description |
|---|---|
| [Execute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmethodcommands/members#execute)<span class="api-meta">static · since v2.24</span> | Provides an [IOpcMethodCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.iopcmethodcommand/) is executability evaluates to the value true while its implementation invokes the `callback` specified. |
| [ExecuteAsync](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmethodcommands/members#executeasync)<span class="api-meta">static · since v2.24</span> | Provides an [IOpcAsyncMethodCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.iopcasyncmethodcommand/) is executability evaluates to the value true while its implementation invokes the `callback` specified. |

## Applies to

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