Skip to content

Reference

OpcEvent Class

Represents a snapshot of a 'Opc.UaFx.OpcEventNode'.

Reference

OpcEvent Class ​

Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Members
OpcEvent Members
Also in
Opc.UaFx.Client

Represents a snapshot of a 'Opc.UaFx.OpcEventNode'.

Syntax ​

csharp
public class OpcEvent
vbnet
Public Class OpcEvent

Inheritance ​

Object → OpcEvent

Derived types ​

Constructors ​

NameDescription
OpcEventsince v2.8Initializes a new instance of the OpcEvent class using the dataStore specified.

Properties ​

NameDescription
DataStoreprotectedGets the IOpcReadOnlyNodeDataStore which contains the data of the OpcEvent instance.
EventIdGets a value generated by the server to uniquely identify a particular event notification.
EventTypeGets the type of event.
EventTypeIdGets node identifier which describes the specific type of event.
MessageGets a value which defines a human-readable and localizable text description of the event.
NodeIdGets the identifier of the node from which this event data snapshot has been created.
ReceiveTimeGets the time the OPC UA server received the event from the underlying device of another server.
SeverityGets an indication of the urgency of the event.
SourceNameGets a description of the source of the event.
SourceNodeIdGets the node identifier which identifies the node that the event originated from.
TimeGets the time the event occurred.

Methods ​

NameDescription
Createstatic · since v2.54Creates a new OpcEvent instance following the parameters specified.
GetValueprotected · since v2.19Retrieves the value of the event field named by the memberName, e.g. to implement a property of a custom event type.
RegisterTypestatic · 2 overloads · since v2.8Registers the type defined by T as the OpcEvent type to create in case there an event instance is to be created for the type definition identified by the OpcEventTypeAttribute defined on the T specified.
RegisterTypesstatic · 3 overloads · since v2.8Registers all non-abstract types in the assembly specified which defines the OpcEventTypeAttribute and inherit from OpcEvent.
UnregisterTypestatic · 2 overloads · since v2.8Unregisters the previously registered (see RegisterType) type defined by T as the OpcEvent type to not longer create for the type definition identified by the OpcEventTypeAttribute defined on the T specified.
UnregisterTypesstatic · 3 overloads · since v2.8Unregisters all previously registered types (see RegisterTypes) in the assembly specified.

Events ​

NameDescription
TypeResolvestatic · since v2.8Occurs when the resolution of an event type fails.

Applies to ​

PackageVersions
Opc.UaFx.Advancedv2.5–v2.59