# OpcNodeServiceCommand Class

> Reference: Provides an abstract base class for node orientated OPC UA services which at least require the OpcNodeId of a specific node to operate on.

<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">OpcNodeServiceCommand Members</a></dd>
<dt>Also in</dt>
<dd>Opc.UaFx.Client</dd>
</dl>

Provides an abstract base class for node orientated OPC UA services which at least require the [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) of a specific node to operate on.

## Syntax

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

```csharp
public abstract class OpcNodeServiceCommand : OpcServiceCommand
```

</div>

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

```vbnet
Public MustInherit Class OpcNodeServiceCommand
    Inherits OpcServiceCommand
```

</div>

## Inheritance

[Object](https://learn.microsoft.com/dotnet/api/system.object) → [OpcServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcservicecommand/) → **OpcNodeServiceCommand**

## Derived types

- [OpcNodeHistoryCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcnodehistorycommand/)
- [OpcReadEventHistory](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcreadeventhistory/)
- [OpcReadNodeHistory](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcreadnodehistory/)
- [OpcAddNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcaddnode/)
- [OpcAddReference](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcaddreference/)
- [OpcBrowseNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcbrowsenode/)
- [OpcCallMethod](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccallmethod/)
- [OpcDeleteNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdeletenode/)
- [OpcDeleteReference](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdeletereference/)
- [OpcRegisterNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcregisternode/)
- [OpcUnregisterNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcunregisternode/)
- [OpcNodeAttributeServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeattributeservicecommand/)

## Constructors

| Name | Description |
|---|---|
| [OpcNodeServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/members#opcnodeservicecommand)<span class="api-meta">protected · 16 overloads</span> | Initializes a new instance of the OpcNodeServiceCommand class using the `nodeId` specified. |

## Properties

| Name | Description |
|---|---|
| [NodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/members#nodeid) | Gets the node identifier of the node on which a node orientated service have to operate on. |
| [SupportsNullNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/members#supportsnullnodeid)<span class="api-meta">protected · virtual</span> | Gets a value indicating whether the OpcNodeServiceCommand supports instances of the [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) class its [IsNull](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/members#isnull) provides a value equals to the value true. |

## Methods

| Name | Description |
|---|---|
| [DenyNullIdentifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/members#denynullidentifier)<span class="api-meta">protected · since v2.7</span> | Verifies whether the `value` is a null identifier by checking the [IsNull](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/members#isnull) property. |

Inherits members from [OpcServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcservicecommand/members).

## Applies to

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