# OpcServiceCommand Class

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

<dl class="api-definition">
<dt>Namespace</dt>
<dd><a href="../namespaces/opc.uafx.services">Opc.UaFx.Services</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">OpcServiceCommand Members</a></dd>
<dt>Also in</dt>
<dd>Opc.UaFx.Client</dd>
</dl>

Provides an abstract base class for OPC UA services which defines information required to perform an atomic operation.

## Syntax

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

```csharp
public abstract class OpcServiceCommand
```

</div>

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

```vbnet
Public MustInherit Class OpcServiceCommand
```

</div>

## Inheritance

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

## Derived types

- [OpcNodeServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/)

## Constructors

| Name | Description |
|---|---|
| [OpcServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcservicecommand/members#opcservicecommand)<span class="api-meta">protected</span> | Initializes a new instance of the OpcServiceCommand class. |

## Properties

| Name | Description |
|---|---|
| [Tag](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcservicecommand/members#tag)<span class="api-meta">since v2.23</span> | Gets or sets the object that contains additional user data about the command. |

## Applies to

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