# OpcNodeServiceCommand Members

> 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.

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

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

## Constructors

### OpcNodeServiceCommand

<span class="api-meta">protected · 16 overloads</span>

| Overload | Description |
|---|---|
| [OpcNodeServiceCommand(OpcNodeId)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/members#opcnodeservicecommand-opc-uafx-opcnodeid)<span class="api-meta">protected</span> | Initializes a new instance of the [OpcNodeServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/) class using the `nodeId` specified. |
| [OpcNodeServiceCommand(byte\[\])](#opcnodeservicecommand-system-byte-array)<span class="api-meta">protected</span> | Initializes a new instance of the [OpcNodeServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/) class using the `nodeId` specified. |
| [OpcNodeServiceCommand(byte\[\], int)](#opcnodeservicecommand-system-byte-array-system-int32)<span class="api-meta">protected</span> | Initializes a new instance of the [OpcNodeServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/) class using the `nodeId` and `namespaceIndex` specified. |
| [OpcNodeServiceCommand(byte\[\], OpcNamespace)](#opcnodeservicecommand-system-byte-array-opc-uafx-opcnamespace)<span class="api-meta">protected</span> | Initializes a new instance of the [OpcNodeServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/) class using the `nodeId` and `nodeNamespace` specified. |
| [OpcNodeServiceCommand(Guid)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/members#opcnodeservicecommand-system-guid)<span class="api-meta">protected</span> | Initializes a new instance of the [OpcNodeServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/) class using the `nodeId` specified. |
| [OpcNodeServiceCommand(Guid, int)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/members#opcnodeservicecommand-system-guid-system-int32)<span class="api-meta">protected</span> | Initializes a new instance of the [OpcNodeServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/) class using the `nodeId` and `namespaceIndex` specified. |
| [OpcNodeServiceCommand(Guid, OpcNamespace)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/members#opcnodeservicecommand-system-guid-opc-uafx-opcnamespace)<span class="api-meta">protected</span> | Initializes a new instance of the [OpcNodeServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/) class using the `nodeId` and `nodeNamespace` specified. |
| [OpcNodeServiceCommand(int)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/members#opcnodeservicecommand-system-int32)<span class="api-meta">protected</span> | Initializes a new instance of the [OpcNodeServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/) class using the `nodeId` specified. |
| [OpcNodeServiceCommand(int, int)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/members#opcnodeservicecommand-system-int32-system-int32)<span class="api-meta">protected</span> | Initializes a new instance of the [OpcNodeServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/) class using the `nodeId` and `namespaceIndex` specified. |
| [OpcNodeServiceCommand(int, OpcNamespace)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/members#opcnodeservicecommand-system-int32-opc-uafx-opcnamespace)<span class="api-meta">protected</span> | Initializes a new instance of the [OpcNodeServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/) class using the `nodeId` and `nodeNamespace` specified. |
| [OpcNodeServiceCommand(uint)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/members#opcnodeservicecommand-system-uint32)<span class="api-meta">protected</span> | Initializes a new instance of the [OpcNodeServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/) class using the `nodeId` specified. |
| [OpcNodeServiceCommand(uint, int)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/members#opcnodeservicecommand-system-uint32-system-int32)<span class="api-meta">protected</span> | Initializes a new instance of the [OpcNodeServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/) class using the `nodeId` and `namespaceIndex` specified. |
| [OpcNodeServiceCommand(uint, OpcNamespace)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/members#opcnodeservicecommand-system-uint32-opc-uafx-opcnamespace)<span class="api-meta">protected</span> | Initializes a new instance of the [OpcNodeServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/) class using the `nodeId` and `nodeNamespace` specified. |
| [OpcNodeServiceCommand(string)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/members#opcnodeservicecommand-system-string)<span class="api-meta">protected</span> | Initializes a new instance of the [OpcNodeServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/) class using the `nodeId` specified. |
| [OpcNodeServiceCommand(string, int)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/members#opcnodeservicecommand-system-string-system-int32)<span class="api-meta">protected</span> | Initializes a new instance of the [OpcNodeServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/) class using the `nodeId` and `namespaceIndex` specified. |
| [OpcNodeServiceCommand(string, OpcNamespace)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/members#opcnodeservicecommand-system-string-opc-uafx-opcnamespace)<span class="api-meta">protected</span> | Initializes a new instance of the [OpcNodeServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/) class using the `nodeId` and `nodeNamespace` specified. |

#### OpcNodeServiceCommand(OpcNodeId)

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

Initializes a new instance of the [OpcNodeServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/) class using the `nodeId` specified.

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

```csharp
protected OpcNodeServiceCommand(OpcNodeId nodeId)
```

</div>

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

```vbnet
Protected Sub New(nodeId As OpcNodeId)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) | The [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) of the node on which the service, who will execute this command, will operate. |

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The command does not support empty node identifiers. |
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `nodeId` is a null reference (Nothing in Visual Basic). |

#### OpcNodeServiceCommand(byte\[\])

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

Initializes a new instance of the [OpcNodeServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/) class using the `nodeId` specified.

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

```csharp
protected OpcNodeServiceCommand(byte[] nodeId)
```

</div>

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

```vbnet
Protected Sub New(nodeId As Byte())
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Byte](https://learn.microsoft.com/dotnet/api/system.byte)[] | The opaque node identifier of the node on which the service, who will execute this command, will operate. |

#### OpcNodeServiceCommand(byte\[\], int)

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

Initializes a new instance of the [OpcNodeServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/) class using the `nodeId` and `namespaceIndex` specified.

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

```csharp
protected OpcNodeServiceCommand(byte[] nodeId, int namespaceIndex)
```

</div>

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

```vbnet
Protected Sub New(nodeId As Byte(), namespaceIndex As Integer)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Byte](https://learn.microsoft.com/dotnet/api/system.byte)[] | The opaque node identifier of the node on which the service, who will execute this command, will operate. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |

#### OpcNodeServiceCommand(byte\[\], OpcNamespace)

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

Initializes a new instance of the [OpcNodeServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/) class using the `nodeId` and `nodeNamespace` specified.

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

```csharp
protected OpcNodeServiceCommand(byte[] nodeId, OpcNamespace nodeNamespace)
```

</div>

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

```vbnet
Protected Sub New(nodeId As Byte(), nodeNamespace As OpcNamespace)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Byte](https://learn.microsoft.com/dotnet/api/system.byte)[] | The opaque node identifier of the node on which the service, who will execute this command, will operate. |
| `nodeNamespace` | [OpcNamespace](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnamespace/) | The namespace within that the node with the `nodeId` specified can be located. |

#### OpcNodeServiceCommand(Guid)

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

Initializes a new instance of the [OpcNodeServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/) class using the `nodeId` specified.

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

```csharp
protected OpcNodeServiceCommand(Guid nodeId)
```

</div>

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

```vbnet
Protected Sub New(nodeId As Guid)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Guid](https://learn.microsoft.com/dotnet/api/system.guid) | The general unique identifier (= GUID) of the node on which the service, who will execute this command, will operate. |

#### OpcNodeServiceCommand(Guid, int)

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

Initializes a new instance of the [OpcNodeServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/) class using the `nodeId` and `namespaceIndex` specified.

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

```csharp
protected OpcNodeServiceCommand(Guid nodeId, int namespaceIndex)
```

</div>

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

```vbnet
Protected Sub New(nodeId As Guid, namespaceIndex As Integer)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Guid](https://learn.microsoft.com/dotnet/api/system.guid) | The general unique identifier (= GUID) of the node on which the service, who will execute this command, will operate. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |

#### OpcNodeServiceCommand(Guid, OpcNamespace)

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

Initializes a new instance of the [OpcNodeServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/) class using the `nodeId` and `nodeNamespace` specified.

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

```csharp
protected OpcNodeServiceCommand(Guid nodeId, OpcNamespace nodeNamespace)
```

</div>

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

```vbnet
Protected Sub New(nodeId As Guid, nodeNamespace As OpcNamespace)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Guid](https://learn.microsoft.com/dotnet/api/system.guid) | The general unique identifier (= GUID) of the node on which the service, who will execute this command, will operate. |
| `nodeNamespace` | [OpcNamespace](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnamespace/) | The namespace within that the node with the `nodeId` specified can be located. |

#### OpcNodeServiceCommand(int)

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

Initializes a new instance of the [OpcNodeServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/) class using the `nodeId` specified.

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

```csharp
protected OpcNodeServiceCommand(int nodeId)
```

</div>

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

```vbnet
Protected Sub New(nodeId As Integer)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The numeric node identifier of the node on which the service, who will execute this command, will operate. |

#### OpcNodeServiceCommand(int, int)

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

Initializes a new instance of the [OpcNodeServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/) class using the `nodeId` and `namespaceIndex` specified.

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

```csharp
protected OpcNodeServiceCommand(int nodeId, int namespaceIndex)
```

</div>

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

```vbnet
Protected Sub New(nodeId As Integer, namespaceIndex As Integer)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The numeric node identifier of the node on which the service, who will execute this command, will operate. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |

#### OpcNodeServiceCommand(int, OpcNamespace)

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

Initializes a new instance of the [OpcNodeServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/) class using the `nodeId` and `nodeNamespace` specified.

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

```csharp
protected OpcNodeServiceCommand(int nodeId, OpcNamespace nodeNamespace)
```

</div>

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

```vbnet
Protected Sub New(nodeId As Integer, nodeNamespace As OpcNamespace)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The numeric node identifier of the node on which the service, who will execute this command, will operate. |
| `nodeNamespace` | [OpcNamespace](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnamespace/) | The namespace within that the node with the `nodeId` specified can be located. |

#### OpcNodeServiceCommand(uint)

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

Initializes a new instance of the [OpcNodeServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/) class using the `nodeId` specified.

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

```csharp
protected OpcNodeServiceCommand(uint nodeId)
```

</div>

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

```vbnet
Protected Sub New(nodeId As UInteger)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [UInt32](https://learn.microsoft.com/dotnet/api/system.uint32) | The numeric node identifier of the node on which the service, who will execute this command, will operate. |

#### OpcNodeServiceCommand(uint, int)

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

Initializes a new instance of the [OpcNodeServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/) class using the `nodeId` and `namespaceIndex` specified.

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

```csharp
protected OpcNodeServiceCommand(uint nodeId, int namespaceIndex)
```

</div>

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

```vbnet
Protected Sub New(nodeId As UInteger, namespaceIndex As Integer)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [UInt32](https://learn.microsoft.com/dotnet/api/system.uint32) | The numeric node identifier of the node on which the service, who will execute this command, will operate. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |

#### OpcNodeServiceCommand(uint, OpcNamespace)

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

Initializes a new instance of the [OpcNodeServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/) class using the `nodeId` and `nodeNamespace` specified.

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

```csharp
protected OpcNodeServiceCommand(uint nodeId, OpcNamespace nodeNamespace)
```

</div>

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

```vbnet
Protected Sub New(nodeId As UInteger, nodeNamespace As OpcNamespace)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [UInt32](https://learn.microsoft.com/dotnet/api/system.uint32) | The numeric node identifier of the node on which the service, who will execute this command, will operate. |
| `nodeNamespace` | [OpcNamespace](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnamespace/) | The namespace within that the node with the `nodeId` specified can be located. |

#### OpcNodeServiceCommand(string)

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

Initializes a new instance of the [OpcNodeServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/) class using the `nodeId` specified.

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

```csharp
protected OpcNodeServiceCommand(string nodeId)
```

</div>

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

```vbnet
Protected Sub New(nodeId As String)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [String](https://learn.microsoft.com/dotnet/api/system.string) | The textual node identifier of the node on which the service, who will execute this command, will operate. |

#### OpcNodeServiceCommand(string, int)

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

Initializes a new instance of the [OpcNodeServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/) class using the `nodeId` and `namespaceIndex` specified.

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

```csharp
protected OpcNodeServiceCommand(string nodeId, int namespaceIndex)
```

</div>

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

```vbnet
Protected Sub New(nodeId As String, namespaceIndex As Integer)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [String](https://learn.microsoft.com/dotnet/api/system.string) | The textual node identifier of the node on which the service, who will execute this command, will operate. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |

#### OpcNodeServiceCommand(string, OpcNamespace)

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

Initializes a new instance of the [OpcNodeServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/) class using the `nodeId` and `nodeNamespace` specified.

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

```csharp
protected OpcNodeServiceCommand(string nodeId, OpcNamespace nodeNamespace)
```

</div>

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

```vbnet
Protected Sub New(nodeId As String, nodeNamespace As OpcNamespace)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [String](https://learn.microsoft.com/dotnet/api/system.string) | The textual node identifier of the node on which the service, who will execute this command, will operate. |
| `nodeNamespace` | [OpcNamespace](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnamespace/) | The namespace within that the node with the `nodeId` specified can be located. |

## Properties

### NodeId

Gets the node identifier of the node on which a node orientated service have to operate on.

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

```csharp
public OpcNodeId NodeId { get; }
```

</div>

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

```vbnet
Public Property NodeId As OpcNodeId
```

</div>

**Property value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

An instance of the [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) class identifying the node on which a node orientated service have to operate on.

### SupportsNullNodeId

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

Gets a value indicating whether the [OpcNodeServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.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.

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

```csharp
protected virtual bool SupportsNullNodeId { get; }
```

</div>

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

```vbnet
Protected Overridable ReadOnly Property SupportsNullNodeId As Boolean
```

</div>

**Property value**

[Boolean](https://learn.microsoft.com/dotnet/api/system.boolean)

The value true in the case there the [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) instance of the command can be a null-node-id; otherwise the value false.

**Remarks**

In case there this property provides the value false and an instance of the [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) is passed to the constructor of this class an [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) will be thrown.

## Methods

### 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.

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

```csharp
protected void DenyNullIdentifier(OpcNodeId value, string valueName)
```

</div>

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

```vbnet
Protected Sub DenyNullIdentifier(value As OpcNodeId, valueName As String)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) | The [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) to verify. |
| `valueName` | [String](https://learn.microsoft.com/dotnet/api/system.string) | The name of the `value` passed. This is used in case there `value` is a null identifier. |

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The [IsNull](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/members#isnull) of `value` is equals true. |
