Skip to content

Reference

OpcMonitoredItemEventArgs Members

Provides the event data for the MonitoredItemCreated, MonitoredItemDeleted and MonitoredItemModified event.

Reference

OpcMonitoredItemEventArgs Members ​

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

Inherits members from EventArgs.

Constructors ​

OpcMonitoredItemEventArgs ​

Initializes a new instance of the OpcMonitoredItemEventArgs using the context, item and node specified.

csharp
public OpcMonitoredItemEventArgs(
    OpcContext context,
    OpcMonitoredItem item,
    IOpcNode node)
vbnet
Public Sub New(
    context As OpcContext,
    item As OpcMonitoredItem,
    node As IOpcNode)

Parameters

NameTypeDescription
contextOpcContextThe OpcContext used to create, delete or modify a OpcMonitoredItem.
itemOpcMonitoredItemThe OpcMonitoredItem affected by the event.
nodeIOpcNodeThe IOpcNode observed by the OpcMonitoredItem specified by item.

Exceptions

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

Properties ​

Context ​

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

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.

Item ​

Gets the monitored item affected by the event.

csharp
public OpcMonitoredItem Item { get; }
vbnet
Public ReadOnly Property Item As OpcMonitoredItem

Property value

OpcMonitoredItem

An instance of the OpcMonitoredItem class.

Node ​

Gets the node which is observed by the monitored Item.

csharp
public IOpcNode Node { get; }
vbnet
Public ReadOnly Property Node As IOpcNode

Property value

IOpcNode

An instance implementing the IOpcNode interface.