Skip to content

Reference

OpcNodeAccessEventArgs Members

Provides the event data for the events BeforeRead, AfterRead, BeforeWrite and AfterWrite.

Reference

OpcNodeAccessEventArgs Members ​

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

Inherits members from EventArgs.

Constructors ​

OpcNodeAccessEventArgs ​

Initializes a new instance of the OpcNodeAccessEventArgs class using the context and tokens specified.

csharp
public OpcNodeAccessEventArgs(
    OpcContext context,
    OpcNodeAccessTokenCollection tokens)
vbnet
Public Sub New(context As OpcContext, tokens As OpcNodeAccessTokenCollection)

Parameters

NameTypeDescription
contextOpcContextThe OpcContext of the read or write operation.
tokensOpcNodeAccessTokenCollectionThe OpcNodeAccessTokenCollection with one OpcNodeAccessToken per attribute value to read or to write.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe context or tokens is a null reference (Nothing in Visual Basic).

Properties ​

Context ​

Gets the context of the read or write operation.

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

Property value

OpcContext

The OpcContext of the operation.

Tokens ​

Gets the tokens of the attribute values to read or to write.

csharp
public OpcNodeAccessTokenCollection Tokens { get; }
vbnet
Public ReadOnly Property Tokens As OpcNodeAccessTokenCollection

Property value

OpcNodeAccessTokenCollection

The OpcNodeAccessTokenCollection with one OpcNodeAccessToken per attribute value. After reading or writing, the tokens provide the results.