Skip to content

Reference

OpcModelChangeItem Members

Represents changes in the model regarding a specific node affected by the change actions.

Reference

OpcModelChangeItem Members ​

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

Constructors ​

OpcModelChangeItem ​

2 overloads

OverloadDescription
OpcModelChangeItem(OpcNodeId, OpcModelChangeActions)Initializes a new instance of the OpcModelChangeItem class with the OpcNodeId (affected) of the node affected by the change actions.
OpcModelChangeItem(OpcNodeId, OpcNodeId, OpcModelChangeActions)Initializes a new instance of the OpcModelChangeItem class with the OpcNodeId (affected) of the node affected, the OpcNodeId (affectedType) of the type definition of the node affected and the change actions> applied.

Exceptions (all overloads)

ExceptionCondition
ArgumentExceptionThe actions do not indicate any change.

OpcModelChangeItem(OpcNodeId, OpcModelChangeActions) ​

Initializes a new instance of the OpcModelChangeItem class with the OpcNodeId (affected) of the node affected by the change actions.

csharp
public OpcModelChangeItem(OpcNodeId affected, OpcModelChangeActions actions)
vbnet
Public Sub New(affected As OpcNodeId, actions As OpcModelChangeActions)

Parameters

NameTypeDescription
affectedOpcNodeIdThe OpcNodeId of the node affected.
actionsOpcModelChangeActionsThe OpcModelChangeActions indicating the change actions applied to the node.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe affected is a null reference (Nothing in Visual Basic).

OpcModelChangeItem(OpcNodeId, OpcNodeId, OpcModelChangeActions) ​

Initializes a new instance of the OpcModelChangeItem class with the OpcNodeId (affected) of the node affected, the OpcNodeId (affectedType) of the type definition of the node affected and the change actions> applied.

csharp
public OpcModelChangeItem(
    OpcNodeId affected,
    OpcNodeId affectedType,
    OpcModelChangeActions actions)
vbnet
Public Sub New(
    affected As OpcNodeId,
    affectedType As OpcNodeId,
    actions As OpcModelChangeActions)

Parameters

NameTypeDescription
affectedOpcNodeIdThe OpcNodeId of the node affected.
affectedTypeOpcNodeIdThe OpcNodeId of the type definition node of the node affected.
actionsOpcModelChangeActionsThe OpcModelChangeActions indicating the change actions applied to the node.

Exceptions

ExceptionCondition
ArgumentNullException

Properties ​

Actions ​

Gets a value indicating several changes on the affected node at once.

csharp
public OpcModelChangeActions Actions { get; }
vbnet
Public ReadOnly Property Actions As OpcModelChangeActions

Property value

OpcModelChangeActions

A combination of the members defined by the OpcModelChangeActions enumeration used to identify the different change actions applied to the affected node referred to in Affected.

Affected ​

Gets the OpcNodeId which specifies which node was changed.

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

Property value

OpcNodeId

The OpcNodeId of the node which was changed.

Remarks

The client should assume that the affected node has been created or deleted, had a reference added or deleted or the DataType attribute has been changed as described by the Actions.

AffectedType ​

Gets the OpcNodeId of the type definition node of the affected node in case the node which was changed was an Object or Variable node.

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

Property value

OpcNodeId

The OpcNodeId of the type definition node of the affected node if it was an Object or Variable node; otherwise a null reference (Nothing in Visual Basic).