# OpcServiceCommand Members

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

<dl class="api-definition">
<dt>Type</dt>
<dd><a href="./">OpcServiceCommand</a></dd>
<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>Also in</dt>
<dd>Opc.UaFx.Client</dd>
</dl>

## Constructors

### OpcServiceCommand

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

Initializes a new instance of the [OpcServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcservicecommand/) class.

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

```csharp
protected OpcServiceCommand()
```

</div>

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

```vbnet
Protected Sub New()
```

</div>

## Properties

### Tag

<span class="api-meta">since v2.23</span>

Gets or sets the object that contains additional user data about the command.

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

```csharp
public object Tag { get; set; }
```

</div>

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

```vbnet
Public Property Tag As Object
```

</div>

**Property value**

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

An [object](https://learn.microsoft.com/dotnet/api/system.object) that contains additional user data about the command. The default is null (Nothing in Visual Basic).
