OpcDeleteReference Members

Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcDeleteReference type exposes the following members.

OpcDeleteReference(OpcNodeId, OpcNodeId)

Initializes a new instance of the OpcDeleteReference class using the identifiers of the nodes which shall not longer reference each other. The relation is deleted in bidirectional direction using Organizes as the type of reference.

C#

public OpcDeleteReference(OpcNodeId nodeId, OpcNodeId targetNodeId)


Parameters

nodeId OpcNodeId

The OpcNodeId through that the source node can be identified and accessed.

targetNodeId OpcNodeId

The OpcNodeId through that the target node can be identified and accessed.


Exceptions

ArgumentException

The nodeId or targetNodeId is equals Null.

ArgumentNullException

The nodeId or targetNodeId is a null reference (Nothing in Visual Basic).

OpcDeleteReference(OpcNodeId, OpcNodeId, Nullable<OpcReferenceDirection>)

Initializes a new instance of the OpcDeleteReference class using the identifiers of the nodes which shall not longer reference each other using the direction specified. The reference to delete have to be of the relation defined by direction using the Organizes as the type of reference.

C#

public OpcDeleteReference(OpcNodeId nodeId, OpcNodeId targetNodeId, OpcReferenceDirection? direction)


Parameters

nodeId OpcNodeId

The OpcNodeId through that the source node can be identified and accessed.

targetNodeId OpcNodeId

The OpcNodeId through that the target node can be identified and accessed.

direction Nullable<OpcReferenceDirection>

One of the members defined by the OpcReferenceDirection enumeration which defines the kind of relation of reference to delete or a null reference (Nothing in Visual Basic) in case there the relation is to be deleted in bidirectional direction.


Exceptions

ArgumentException

The nodeId or targetNodeId is equals Null.

ArgumentNullException

The nodeId or targetNodeId is a null reference (Nothing in Visual Basic).

OpcDeleteReference(OpcNodeId, OpcNodeId, Nullable<OpcReferenceDirection>, OpcNodeId)

Initializes a new instance of the OpcDeleteReference class using the identifiers of the nodes which shall not longer reference each other using the direction specified. The reference to delete have to be of the relation defined by direction using the type of reference identified by the referenceTypeId specified.

C#

public OpcDeleteReference(OpcNodeId nodeId, OpcNodeId targetNodeId, OpcReferenceDirection? direction, OpcNodeId referenceTypeId)


Parameters

nodeId OpcNodeId

The OpcNodeId through that the source node can be identified and accessed.

targetNodeId OpcNodeId

The OpcNodeId through that the target node can be identified and accessed.

direction Nullable<OpcReferenceDirection>

One of the members defined by the OpcReferenceDirection enumeration which defines the kind of relation of reference to delete or a null reference (Nothing in Visual Basic) in case there the relation is to be deleted in bidirectional direction.

referenceTypeId OpcNodeId

The OpcNodeId which identifies the type of reference to use to setup the reference between the source and the target node identified by the nodeId and the targetNodeId.


Exceptions

ArgumentException

The nodeId, targetNodeId or referenceTypeId is equals Null.

ArgumentNullException

The nodeId, targetNodeId or referenceTypeId is a null reference (Nothing in Visual Basic).

OpcDeleteReference(OpcNodeId, OpcNodeId, Nullable<OpcReferenceDirection>, OpcReferenceType)

Initializes a new instance of the OpcDeleteReference class using the identifiers of the nodes which shall not longer reference each other using the direction specified. The reference to delete have to be of the relation defined by direction using the referenceType specified as the type of reference.

C#

public OpcDeleteReference(OpcNodeId nodeId, OpcNodeId targetNodeId, OpcReferenceDirection? direction, OpcReferenceType referenceType)


Parameters

nodeId OpcNodeId

The OpcNodeId through that the source node can be identified and accessed.

targetNodeId OpcNodeId

The OpcNodeId through that the target node can be identified and accessed.

direction Nullable<OpcReferenceDirection>

One of the members defined by the OpcReferenceDirection enumeration which defines the kind of relation of reference to delete or a null reference (Nothing in Visual Basic) in case there the relation is to be deleted in bidirectional direction.

referenceType OpcReferenceType

One of the members defined by the OpcReferenceType enumeration to use to setup the reference between the source and the target node identified by the nodeId and the targetNodeId.


Exceptions

ArgumentException

The nodeId or targetNodeId is equals Null.

ArgumentNullException

The nodeId or targetNodeId is a null reference (Nothing in Visual Basic).

Direction

Gets a value indicating the logical direction of the reference to delete.

C#

public OpcReferenceDirection? Direction { get; }


Property Value

Nullable<OpcReferenceDirection>

One of the members defined by the OpcReferenceDirection enumeration indicating which relation is to be deleted or a null reference (Nothing in Visual Basic) in case there the relations are to be deleted bidirectional. The default value is a null reference (Nothing in Visual Basic).

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.

C#

public OpcReferenceType ReferenceType { get; }


Property Value

OpcReferenceType

One of the members defined by the OpcReferenceType enumeration. The default value is Organizes.

ReferenceTypeId

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

C#

public OpcNodeId ReferenceTypeId { get; }


Property Value

OpcNodeId

The OpcNodeId of the reference type node which defines the relation semantic between the source and the target node. The default value is Organizes.

TargetNodeId

Gets the identifier which identifies the target node which acts as the opponent in the reference to delete between the source node (identified by NodeId) the target node.

C#

public OpcNodeId TargetNodeId { get; }


Property Value

OpcNodeId

The OpcNodeId of the target node acting as the opponent of the reference to delete.