Skip to content

Reference

OpcAddInstanceNode Members

Defines an abstract base class for a single command of the IOpcAddNodesService used to add one instance node.

Reference

OpcAddInstanceNode Members ​

Type
OpcAddInstanceNode
Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Also in
Opc.UaFx.Client

Inherits members from OpcAddNode, OpcNodeServiceCommand, OpcServiceCommand.

Constructors ​

OpcAddInstanceNode ​

protected · 10 overloads

OverloadDescription
OpcAddInstanceNode(OpcNodeCategory, OpcNodeId, OpcName)protectedInitializes a new instance of the OpcAddNode class using the specified category and type of node (see typeDefinitionId) to add, which shall be accessible by the name defined.
OpcAddInstanceNode(OpcNodeCategory, OpcNodeId, OpcName, params OpcAddInstanceNode[])protectedInitializes a new instance of the OpcAddNode class using the specified category and type of node (see typeDefinitionId) to add, which shall be accessible by the name defined.
OpcAddInstanceNode(OpcNodeCategory, OpcNodeId, OpcName, OpcNodeId)protectedInitializes a new instance of the OpcAddNode class using the specified category and type of node (see typeDefinitionId) to add, which shall be accessible by the name and nodeId defined.
OpcAddInstanceNode(OpcNodeCategory, OpcNodeId, OpcName, OpcNodeId, params OpcAddInstanceNode[])protectedInitializes a new instance of the OpcAddNode class using the specified category and type of node (see typeDefinitionId) to add, which shall be accessible by the name and nodeId defined.
OpcAddInstanceNode(OpcNodeCategory, OpcNodeId, OpcName, OpcNodeId, OpcNodeId)protectedInitializes a new instance of the OpcAddNode class using the specified category and type of node (see typeDefinitionId) to add, which shall be accessible by the name and nodeId defined.
OpcAddInstanceNode(OpcNodeCategory, OpcNodeId, OpcName, OpcNodeId, OpcNodeId, params OpcAddInstanceNode[])protectedInitializes a new instance of the OpcAddNode class using the specified category and type of node (see typeDefinitionId) to add, which shall be accessible by the name and nodeId defined.
OpcAddInstanceNode(OpcNodeCategory, OpcNodeId, OpcName, OpcNodeId, OpcNodeId, OpcReferenceType)protectedInitializes a new instance of the OpcAddNode class using the specified category and type of node (see typeDefinitionId) to add, which shall be accessible by the name and nodeId defined.
OpcAddInstanceNode(OpcNodeCategory, OpcNodeId, OpcName, OpcNodeId, OpcNodeId, OpcReferenceType, params OpcAddInstanceNode[])protectedInitializes a new instance of the OpcAddNode class using the specified category and type of node (see typeDefinitionId) to add, which shall be accessible by the name and nodeId defined.
OpcAddInstanceNode(OpcNodeCategory, OpcNodeId, OpcName, OpcNodeId, OpcNodeId, OpcNodeId)protectedInitializes a new instance of the OpcAddNode class using the specified category and type of node (see typeDefinitionId) to add, which shall be accessible by the name and nodeId defined.
OpcAddInstanceNode(OpcNodeCategory, OpcNodeId, OpcName, OpcNodeId, OpcNodeId, OpcNodeId, params OpcAddInstanceNode[])protectedInitializes a new instance of the OpcAddNode class using the specified category and type of node (see typeDefinitionId) to add, which shall be accessible by the name and nodeId defined.

OpcAddInstanceNode(OpcNodeCategory, OpcNodeId, OpcName) ​

protected

Initializes a new instance of the OpcAddNode class using the specified category and type of node (see typeDefinitionId) to add, which shall be accessible by the name defined. The according OpcNodeId to identify and access the new node is determined by the service. The new node will be a child of the ObjectsFolder node using Organizes as the type of reference.

csharp
protected OpcAddInstanceNode(
    OpcNodeCategory category,
    OpcNodeId typeDefinitionId,
    OpcName name)
vbnet
Protected Sub New(
    category As OpcNodeCategory,
    typeDefinitionId As OpcNodeId,
    name As OpcName)

Parameters

NameTypeDescription
categoryOpcNodeCategoryThe OpcNodeCategory which classifies the new node to add regarding one of the classifications defined by the OpcNodeCategory enumeration.
typeDefinitionIdOpcNodeIdThe OpcNodeId of the underlying type definition the new node will represent an instance of.
nameOpcNameThe OpcName through that the new instance node can be accessed.

Exceptions

ExceptionCondition
ArgumentExceptionThe typeDefinitionId is equals Null or name is equals Null.
ArgumentNullExceptionThe typeDefinitionId or name is a null reference (Nothing in Visual Basic).

OpcAddInstanceNode(OpcNodeCategory, OpcNodeId, OpcName, params OpcAddInstanceNode[]) ​

protected

Initializes a new instance of the OpcAddNode class using the specified category and type of node (see typeDefinitionId) to add, which shall be accessible by the name defined. The according OpcNodeId to identify and access the new node is determined by the service. The new node will be a child of the ObjectsFolder node using Organizes as the type of reference.

csharp
protected OpcAddInstanceNode(
    OpcNodeCategory category,
    OpcNodeId typeDefinitionId,
    OpcName name,
    params OpcAddInstanceNode[] children)
vbnet
Protected Sub New(
    category As OpcNodeCategory,
    typeDefinitionId As OpcNodeId,
    name As OpcName,
    ParamArray children As OpcAddInstanceNode())

Parameters

NameTypeDescription
categoryOpcNodeCategoryThe OpcNodeCategory which classifies the new node to add regarding one of the classifications defined by the OpcNodeCategory enumeration.
typeDefinitionIdOpcNodeIdThe OpcNodeId of the underlying type definition the new node will represent an instance of.
nameOpcNameThe OpcName through that the new instance node can be accessed.
childrenparams OpcAddInstanceNode[]The initial child nodes of the node to add.

Exceptions

ExceptionCondition
ArgumentExceptionThe typeDefinitionId is equals Null or name is equals Null.
ArgumentNullExceptionThe typeDefinitionId or name is a null reference (Nothing in Visual Basic).

OpcAddInstanceNode(OpcNodeCategory, OpcNodeId, OpcName, OpcNodeId) ​

protected

Initializes a new instance of the OpcAddNode class using the specified category and type of node (see typeDefinitionId) to add, which shall be accessible by the name and nodeId defined. The new node will be a child of the ObjectsFolder node using Organizes as the type of reference.

csharp
protected OpcAddInstanceNode(
    OpcNodeCategory category,
    OpcNodeId typeDefinitionId,
    OpcName name,
    OpcNodeId nodeId)
vbnet
Protected Sub New(
    category As OpcNodeCategory,
    typeDefinitionId As OpcNodeId,
    name As OpcName,
    nodeId As OpcNodeId)

Parameters

NameTypeDescription
categoryOpcNodeCategoryThe OpcNodeCategory which classifies the new node to add regarding one of the classifications defined by the OpcNodeCategory enumeration.
typeDefinitionIdOpcNodeIdThe OpcNodeId of the underlying type definition the new node will represent an instance of.
nameOpcNameThe OpcName through that the new instance node can be accessed.
nodeIdOpcNodeIdThe OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.

Exceptions

ExceptionCondition
ArgumentExceptionThe typeDefinitionId is equals Null or name is equals Null.
ArgumentNullExceptionThe typeDefinitionId, name or nodeId is a null reference (Nothing in Visual Basic).

OpcAddInstanceNode(OpcNodeCategory, OpcNodeId, OpcName, OpcNodeId, params OpcAddInstanceNode[]) ​

protected

Initializes a new instance of the OpcAddNode class using the specified category and type of node (see typeDefinitionId) to add, which shall be accessible by the name and nodeId defined. The new node will be a child of the ObjectsFolder node using Organizes as the type of reference.

csharp
protected OpcAddInstanceNode(
    OpcNodeCategory category,
    OpcNodeId typeDefinitionId,
    OpcName name,
    OpcNodeId nodeId,
    params OpcAddInstanceNode[] children)
vbnet
Protected Sub New(
    category As OpcNodeCategory,
    typeDefinitionId As OpcNodeId,
    name As OpcName,
    nodeId As OpcNodeId,
    ParamArray children As OpcAddInstanceNode())

Parameters

NameTypeDescription
categoryOpcNodeCategoryThe OpcNodeCategory which classifies the new node to add regarding one of the classifications defined by the OpcNodeCategory enumeration.
typeDefinitionIdOpcNodeIdThe OpcNodeId of the underlying type definition the new node will represent an instance of.
nameOpcNameThe OpcName through that the new instance node can be accessed.
nodeIdOpcNodeIdThe OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.
childrenparams OpcAddInstanceNode[]The initial child nodes of the node to add.

Exceptions

ExceptionCondition
ArgumentExceptionThe typeDefinitionId is equals Null or name is equals Null.
ArgumentNullExceptionThe typeDefinitionId, name or nodeId is a null reference (Nothing in Visual Basic).

OpcAddInstanceNode(OpcNodeCategory, OpcNodeId, OpcName, OpcNodeId, OpcNodeId) ​

protected

Initializes a new instance of the OpcAddNode class using the specified category and type of node (see typeDefinitionId) to add, which shall be accessible by the name and nodeId defined. The new node will be a child of the node identified by parentNodeId using Organizes as the type of reference.

csharp
protected OpcAddInstanceNode(
    OpcNodeCategory category,
    OpcNodeId typeDefinitionId,
    OpcName name,
    OpcNodeId nodeId,
    OpcNodeId parentNodeId)
vbnet
Protected Sub New(
    category As OpcNodeCategory,
    typeDefinitionId As OpcNodeId,
    name As OpcName,
    nodeId As OpcNodeId,
    parentNodeId As OpcNodeId)

Parameters

NameTypeDescription
categoryOpcNodeCategoryThe OpcNodeCategory which classifies the new node to add regarding one of the classifications defined by the OpcNodeCategory enumeration.
typeDefinitionIdOpcNodeIdThe OpcNodeId of the underlying type definition the new node will represent an instance of.
nameOpcNameThe OpcName through that the new instance node can be accessed.
nodeIdOpcNodeIdThe OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.
parentNodeIdOpcNodeIdThe OpcNodeId of the parent node to reference using Organizes as the type of reference.

Exceptions

ExceptionCondition
ArgumentExceptionThe typeDefinitionId or parentNodeId is equals Null or name is equals Null.
ArgumentNullExceptionThe typeDefinitionId, name, nodeId or parentNodeId is a null reference (Nothing in Visual Basic).

OpcAddInstanceNode(OpcNodeCategory, OpcNodeId, OpcName, OpcNodeId, OpcNodeId, params OpcAddInstanceNode[]) ​

protected

Initializes a new instance of the OpcAddNode class using the specified category and type of node (see typeDefinitionId) to add, which shall be accessible by the name and nodeId defined. The new node will be a child of the node identified by parentNodeId using Organizes as the type of reference.

csharp
protected OpcAddInstanceNode(
    OpcNodeCategory category,
    OpcNodeId typeDefinitionId,
    OpcName name,
    OpcNodeId nodeId,
    OpcNodeId parentNodeId,
    params OpcAddInstanceNode[] children)
vbnet
Protected Sub New(
    category As OpcNodeCategory,
    typeDefinitionId As OpcNodeId,
    name As OpcName,
    nodeId As OpcNodeId,
    parentNodeId As OpcNodeId,
    ParamArray children As OpcAddInstanceNode())

Parameters

NameTypeDescription
categoryOpcNodeCategoryThe OpcNodeCategory which classifies the new node to add regarding one of the classifications defined by the OpcNodeCategory enumeration.
typeDefinitionIdOpcNodeIdThe OpcNodeId of the underlying type definition the new node will represent an instance of.
nameOpcNameThe OpcName through that the new instance node can be accessed.
nodeIdOpcNodeIdThe OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.
parentNodeIdOpcNodeIdThe OpcNodeId of the parent node to reference using Organizes as the type of reference.
childrenparams OpcAddInstanceNode[]The initial child nodes of the node to add.

Exceptions

ExceptionCondition
ArgumentExceptionThe typeDefinitionId or parentNodeId is equals Null or name is equals Null.
ArgumentNullExceptionThe typeDefinitionId, name, nodeId or parentNodeId is a null reference (Nothing in Visual Basic).

OpcAddInstanceNode(OpcNodeCategory, OpcNodeId, OpcName, OpcNodeId, OpcNodeId, OpcReferenceType) ​

protected

Initializes a new instance of the OpcAddNode class using the specified category and type of node (see typeDefinitionId) to add, which shall be accessible by the name and nodeId defined. The new node will be a child of the node identified by parentNodeId using the referenceType specified as the type of reference.

csharp
protected OpcAddInstanceNode(
    OpcNodeCategory category,
    OpcNodeId typeDefinitionId,
    OpcName name,
    OpcNodeId nodeId,
    OpcNodeId parentNodeId,
    OpcReferenceType referenceType)
vbnet
Protected Sub New(
    category As OpcNodeCategory,
    typeDefinitionId As OpcNodeId,
    name As OpcName,
    nodeId As OpcNodeId,
    parentNodeId As OpcNodeId,
    referenceType As OpcReferenceType)

Parameters

NameTypeDescription
categoryOpcNodeCategoryThe OpcNodeCategory which classifies the new node to add regarding one of the classifications defined by the OpcNodeCategory enumeration.
typeDefinitionIdOpcNodeIdThe OpcNodeId of the underlaying type definition the new node will represent and instance of.
nameOpcNameThe OpcName through that the new instance node can be accessed.
nodeIdOpcNodeIdThe OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.
parentNodeIdOpcNodeIdThe OpcNodeId of the parent node to reference using the referenceType as the type of reference.
referenceTypeOpcReferenceTypeOne of the members defined by the OpcReferenceType enumeration to use to setup the reference between the new node and the existing parent node identified by parentNodeId.

Exceptions

ExceptionCondition
ArgumentExceptionThe typeDefinitionId or parentNodeId is equals Null or name is equals Null.
ArgumentNullExceptionThe typeDefinitionId, name, nodeId or parentNodeId is a null reference (Nothing in Visual Basic).

OpcAddInstanceNode(OpcNodeCategory, OpcNodeId, OpcName, OpcNodeId, OpcNodeId, OpcReferenceType, params OpcAddInstanceNode[]) ​

protected

Initializes a new instance of the OpcAddNode class using the specified category and type of node (see typeDefinitionId) to add, which shall be accessible by the name and nodeId defined. The new node will be a child of the node identified by parentNodeId using the referenceType specified as the type of reference.

csharp
protected OpcAddInstanceNode(
    OpcNodeCategory category,
    OpcNodeId typeDefinitionId,
    OpcName name,
    OpcNodeId nodeId,
    OpcNodeId parentNodeId,
    OpcReferenceType referenceType,
    params OpcAddInstanceNode[] children)
vbnet
Protected Sub New(
    category As OpcNodeCategory,
    typeDefinitionId As OpcNodeId,
    name As OpcName,
    nodeId As OpcNodeId,
    parentNodeId As OpcNodeId,
    referenceType As OpcReferenceType,
    ParamArray children As OpcAddInstanceNode())

Parameters

NameTypeDescription
categoryOpcNodeCategoryThe OpcNodeCategory which classifies the new node to add regarding one of the classifications defined by the OpcNodeCategory enumeration.
typeDefinitionIdOpcNodeIdThe OpcNodeId of the underlaying type definition the new node will represent and instance of.
nameOpcNameThe OpcName through that the new instance node can be accessed.
nodeIdOpcNodeIdThe OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.
parentNodeIdOpcNodeIdThe OpcNodeId of the parent node to reference using the referenceType as the type of reference.
referenceTypeOpcReferenceTypeOne of the members defined by the OpcReferenceType enumeration to use to setup the reference between the new node and the existing parent node identified by parentNodeId.
childrenparams OpcAddInstanceNode[]The initial child nodes of the node to add.

Exceptions

ExceptionCondition
ArgumentExceptionThe typeDefinitionId or parentNodeId is equals Null or name is equals Null.
ArgumentNullExceptionThe typeDefinitionId, name, nodeId or parentNodeId is a null reference (Nothing in Visual Basic).

OpcAddInstanceNode(OpcNodeCategory, OpcNodeId, OpcName, OpcNodeId, OpcNodeId, OpcNodeId) ​

protected

Initializes a new instance of the OpcAddNode class using the specified category and type of node (see typeDefinitionId) to add, which shall be accessible by the name and nodeId defined. The new node will be a child of the node identified by parentNodeId using the type of reference identified by the referenceTypeId specified.

csharp
protected OpcAddInstanceNode(
    OpcNodeCategory category,
    OpcNodeId typeDefinitionId,
    OpcName name,
    OpcNodeId nodeId,
    OpcNodeId parentNodeId,
    OpcNodeId referenceTypeId)
vbnet
Protected Sub New(
    category As OpcNodeCategory,
    typeDefinitionId As OpcNodeId,
    name As OpcName,
    nodeId As OpcNodeId,
    parentNodeId As OpcNodeId,
    referenceTypeId As OpcNodeId)

Parameters

NameTypeDescription
categoryOpcNodeCategoryThe OpcNodeCategory which classifies the new node to add regarding one of the classifications defined by the OpcNodeCategory enumeration.
typeDefinitionIdOpcNodeIdThe OpcNodeId of the underlaying type definition the new node will represent and instance of.
nameOpcNameThe OpcName through that the new instance node can be accessed.
nodeIdOpcNodeIdThe OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.
parentNodeIdOpcNodeIdThe OpcNodeId of the parent node to reference using the type of reference identified by referenceTypeId.
referenceTypeIdOpcNodeIdThe OpcNodeId which identifies the type of reference to use for the new node and the existing parent node identified by parentNodeId.

Exceptions

ExceptionCondition
ArgumentExceptionThe typeDefinitionId, parentNodeId or referenceTypeId is equals Null or name is equals Null.
ArgumentNullExceptionThe typeDefinitionId, name, nodeId, parentNodeId or referenceTypeId is a null reference (Nothing in Visual Basic).

OpcAddInstanceNode(OpcNodeCategory, OpcNodeId, OpcName, OpcNodeId, OpcNodeId, OpcNodeId, params OpcAddInstanceNode[]) ​

protected

Initializes a new instance of the OpcAddNode class using the specified category and type of node (see typeDefinitionId) to add, which shall be accessible by the name and nodeId defined. The new node will be a child of the node identified by parentNodeId using the type of reference identified by the referenceTypeId specified.

csharp
protected OpcAddInstanceNode(
    OpcNodeCategory category,
    OpcNodeId typeDefinitionId,
    OpcName name,
    OpcNodeId nodeId,
    OpcNodeId parentNodeId,
    OpcNodeId referenceTypeId,
    params OpcAddInstanceNode[] children)
vbnet
Protected Sub New(
    category As OpcNodeCategory,
    typeDefinitionId As OpcNodeId,
    name As OpcName,
    nodeId As OpcNodeId,
    parentNodeId As OpcNodeId,
    referenceTypeId As OpcNodeId,
    ParamArray children As OpcAddInstanceNode())

Parameters

NameTypeDescription
categoryOpcNodeCategoryThe OpcNodeCategory which classifies the new node to add regarding one of the classifications defined by the OpcNodeCategory enumeration.
typeDefinitionIdOpcNodeIdThe OpcNodeId of the underlaying type definition the new node will represent and instance of.
nameOpcNameThe OpcName through that the new instance node can be accessed.
nodeIdOpcNodeIdThe OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.
parentNodeIdOpcNodeIdThe OpcNodeId of the parent node to reference using the type of reference identified by referenceTypeId.
referenceTypeIdOpcNodeIdThe OpcNodeId which identifies the type of reference to use for the new node and the existing parent node identified by parentNodeId.
childrenparams OpcAddInstanceNode[]The initial child nodes of the node to add.

Exceptions

ExceptionCondition
ArgumentExceptionThe typeDefinitionId, parentNodeId or referenceTypeId is equals Null or name is equals Null.
ArgumentNullExceptionThe typeDefinitionId, name, nodeId, parentNodeId or referenceTypeId is a null reference (Nothing in Visual Basic).

Properties ​

Children ​

Gets a collection of OpcAddNode instances which define the sub-ordinated nodes to add as children to the node to add.

csharp
public OpcAddNodeCollection Children { get; }
vbnet
Public ReadOnly Property Children As OpcAddNodeCollection

Property value

OpcAddNodeCollection

An instance of the OpcAddNodeCollection class with the OpcAddNode instances to process after the node defined by this OpcAddInstanceNode has been added.

ReferenceType ​

Gets a value which defines a pre-defined used ReferenceTypeId as one of the members defined by the OpcReferenceType enumeration to simplify querying standard reference types.

csharp
public OpcReferenceType ReferenceType { get; }
vbnet
Public ReadOnly Property ReferenceType As OpcReferenceType

Property value

OpcReferenceType

One of the members defined by the OpcReferenceType enumeration.

ReferenceTypeId ​

Gets the identifier which identifies the node that defines the semantic of the reference between a source and a target node and generally reflects an operation between the two, such as "A contains B".

csharp
public OpcNodeId ReferenceTypeId { get; }
vbnet
Public ReadOnly Property ReferenceTypeId As OpcNodeId

Property value

OpcNodeId

The OpcNodeId of the reference type node which defines the relation semantic between the source and a target node.

TypeDefinitionId ​

Gets the identifier which identifies the node that defines the underlying node type from that the instance node is to be created.

csharp
public OpcNodeId TypeDefinitionId { get; }
vbnet
Public ReadOnly Property TypeDefinitionId As OpcNodeId

Property value

OpcNodeId

The OpcNodeId of the type node from that the instance node is to be created from. These type node defines the typical structure of an instance node of its type definition.