Skip to content

Reference

OpcMonitoredItemsEventArgs Members

Provides the event data for the MonitoredItemsCreated, MonitoredItemsDeleted and MonitoredItemsModified event.

Reference

OpcMonitoredItemsEventArgs Members ​

Type
OpcMonitoredItemsEventArgs
Namespace
Opc.UaFx.Server
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0

Inherits members from EventArgs.

Constructors ​

OpcMonitoredItemsEventArgs ​

Initializes a new instance of the OpcMonitoredItemEventArgs using the context, items and nodes specified.

csharp
public OpcMonitoredItemsEventArgs(
    OpcContext context,
    OpcMonitoredItem[] items,
    IOpcNode[] nodes)
vbnet
Public Sub New(
    context As OpcContext,
    items As OpcMonitoredItem(),
    nodes As IOpcNode())

Parameters

NameTypeDescription
contextOpcContextThe OpcContext used to create, delete or modify a OpcMonitoredItem.
itemsOpcMonitoredItem[]An array of OpcMonitoredItem instances affected by the event.
nodesIOpcNode[]An array of IOpcNode instances observed by the OpcMonitoredItem elements specified by items.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe context, items or nodes is a null reference (Nothing in Visual Basic).

Properties ​

Context ​

Gets the information of the environment used to create, delete or modify the Items.

csharp
public OpcContext Context { get; }
vbnet
Public ReadOnly Property Context As OpcContext

Property value

OpcContext

An instance of the OpcContext class used by the source of the event this event data belongs.

Items ​

Gets the monitored items affected by the event.

csharp
public OpcMonitoredItem[] Items { get; }
vbnet
Public ReadOnly Property Items As OpcMonitoredItem()

Property value

OpcMonitoredItem[]

An array of OpcMonitoredItem class instances.

Nodes ​

Gets the nodes which are observed by the monitored Items.

csharp
public IOpcNode[] Nodes { get; }
vbnet
Public ReadOnly Property Nodes As IOpcNode()

Property value

IOpcNode[]

An array of instances implementing the IOpcNode interface.