Namespace: Opc.UaFx.Services
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcNodeServiceCommand type exposes the following members.
Initializes a new instance of the OpcNodeServiceCommand class using the nodeId
specified.
C#
protected OpcNodeServiceCommand(byte[] nodeId)
Parameters
nodeId
Byte[]
The opaque node identifier of the node on which the service, who will execute this command, will operate.
Initializes a new instance of the OpcNodeServiceCommand class using the nodeId
and namespaceIndex
specified.
C#
protected OpcNodeServiceCommand(byte[] nodeId, int namespaceIndex)
Parameters
nodeId
Byte[]
The opaque node identifier of the node on which the service, who will execute this command, will operate.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
Initializes a new instance of the OpcNodeServiceCommand class using the nodeId
and nodeNamespace
specified.
C#
protected OpcNodeServiceCommand(byte[] nodeId, OpcNamespace nodeNamespace)
Parameters
nodeId
Byte[]
The opaque node identifier of the node on which the service, who will execute this command, will operate.
nodeNamespace
OpcNamespace
The namespace within that the node with the nodeId
specified can be located.
Initializes a new instance of the OpcNodeServiceCommand class using the nodeId
specified.
C#
protected OpcNodeServiceCommand(Guid nodeId)
Parameters
nodeId
Guid
The general unique identifier (= GUID) of the node on which the service, who will execute this command, will operate.
Initializes a new instance of the OpcNodeServiceCommand class using the nodeId
and namespaceIndex
specified.
C#
protected OpcNodeServiceCommand(Guid nodeId, int namespaceIndex)
Parameters
nodeId
Guid
The general unique identifier (= GUID) of the node on which the service, who will execute this command, will operate.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
Initializes a new instance of the OpcNodeServiceCommand class using the nodeId
and nodeNamespace
specified.
C#
protected OpcNodeServiceCommand(Guid nodeId, OpcNamespace nodeNamespace)
Parameters
nodeId
Guid
The general unique identifier (= GUID) of the node on which the service, who will execute this command, will operate.
nodeNamespace
OpcNamespace
The namespace within that the node with the nodeId
specified can be located.
Initializes a new instance of the OpcNodeServiceCommand class using the nodeId
specified.
C#
protected OpcNodeServiceCommand(int nodeId)
Parameters
nodeId
Int32
The numeric node identifier of the node on which the service, who will execute this command, will operate.
Initializes a new instance of the OpcNodeServiceCommand class using the nodeId
and namespaceIndex
specified.
C#
protected OpcNodeServiceCommand(int nodeId, int namespaceIndex)
Parameters
nodeId
Int32
The numeric node identifier of the node on which the service, who will execute this command, will operate.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
Initializes a new instance of the OpcNodeServiceCommand class using the nodeId
and nodeNamespace
specified.
C#
protected OpcNodeServiceCommand(int nodeId, OpcNamespace nodeNamespace)
Parameters
nodeId
Int32
The numeric node identifier of the node on which the service, who will execute this command, will operate.
nodeNamespace
OpcNamespace
The namespace within that the node with the nodeId
specified can be located.
Initializes a new instance of the OpcNodeServiceCommand class using the nodeId
specified.
C#
protected OpcNodeServiceCommand(OpcNodeId nodeId)
Parameters
nodeId
OpcNodeId
The OpcNodeId of the node on which the service, who will execute this command, will operate.
Exceptions
The command does not support empty node identifiers.
The nodeId
is a null reference (Nothing in Visual Basic).
Initializes a new instance of the OpcNodeServiceCommand class using the nodeId
specified.
C#
protected OpcNodeServiceCommand(string nodeId)
Parameters
nodeId
String
The textual node identifier of the node on which the service, who will execute this command, will operate.
Initializes a new instance of the OpcNodeServiceCommand class using the nodeId
and namespaceIndex
specified.
C#
protected OpcNodeServiceCommand(string nodeId, int namespaceIndex)
Parameters
nodeId
String
The textual node identifier of the node on which the service, who will execute this command, will operate.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
Initializes a new instance of the OpcNodeServiceCommand class using the nodeId
and nodeNamespace
specified.
C#
protected OpcNodeServiceCommand(string nodeId, OpcNamespace nodeNamespace)
Parameters
nodeId
String
The textual node identifier of the node on which the service, who will execute this command, will operate.
nodeNamespace
OpcNamespace
The namespace within that the node with the nodeId
specified can be located.
Initializes a new instance of the OpcNodeServiceCommand class using the nodeId
specified.
C#
protected OpcNodeServiceCommand(uint nodeId)
Parameters
nodeId
UInt32
The numeric node identifier of the node on which the service, who will execute this command, will operate.
Initializes a new instance of the OpcNodeServiceCommand class using the nodeId
and namespaceIndex
specified.
C#
protected OpcNodeServiceCommand(uint nodeId, int namespaceIndex)
Parameters
nodeId
UInt32
The numeric node identifier of the node on which the service, who will execute this command, will operate.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
Initializes a new instance of the OpcNodeServiceCommand class using the nodeId
and nodeNamespace
specified.
C#
protected OpcNodeServiceCommand(uint nodeId, OpcNamespace nodeNamespace)
Parameters
nodeId
UInt32
The numeric node identifier of the node on which the service, who will execute this command, will operate.
nodeNamespace
OpcNamespace
The namespace within that the node with the nodeId
specified can be located.
Gets a value indicating whether the OpcNodeServiceCommand supports instances of the OpcNodeId class its IsNull provides a value equals to the value true.
C#
protected virtual bool SupportsNullNodeId { get; }
Property Value
The value true in the case there the 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 is passed to the constructor of this class an ArgumentException will be thrown.
Verifies whether the value
is a null identifier by checking the IsNull property.
C#
protected void DenyNullIdentifier(OpcNodeId value, string valueName)
Parameters
value
OpcNodeId
The OpcNodeId to verify.
valueName
String
The name of the value
passed. This is used in case there value
is a null identifier.
Exceptions
The IsNull of value
is equals true.