OpcEvent Class

Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll

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

C#

public class OpcEvent


Inheritance Object › OpcEvent


Derived

Name Description
OpcEvent(IOpcReadOnlyNodeDataStore) Initializes a new instance of the OpcEvent class using the dataStore specified.
Name Description
TypeResolve Occurs when the resolution of an event type fails. Use this event to manually provide the Type to use for a specific event type definition identifier.
Name Description
DataStore Gets the IOpcReadOnlyNodeDataStore which contains the data of the OpcEvent instance.
EventId Gets a value generated by the server to uniquely identify a particular event notification.
EventType Gets the type of event.
EventTypeId Gets node identifier which describes the specific type of event.
Message Gets a value which defines a human-readable and localizable text description of the event.
NodeId Gets the identifier of the node from which this event data snapshot has been created.
ReceiveTime Gets the time the OPC UA server received the event from the underlying device of another server.
Severity Gets an indication of the urgency of the event.
SourceName Gets a description of the source of the event.
SourceNodeId Gets the node identifier which identifies the node that the event originated from.
Time Gets the time the event occurred.
Name Description
RegisterType``1 Registers 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.
RegisterType``1(OpcNodeId) Registers 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 eventTypeId specified.
RegisterTypes(Assembly) Registers all non-abstract types in the assembly specified which defines the OpcEventTypeAttribute and inherit from OpcEvent.
RegisterTypes(IEnumerable) Registers the eventTypes specified as the OpcEvent type to create in case there an event instance is to be created for one of the type definitions identified by the OpcEventTypeAttribute used on one of the eventTypes specified.
RegisterTypes(Type, Type) Registers the eventType and the further specified eventTypes as the OpcEvent types to create in case there an event instance is to be created for one of the type definitions identified by the OpcEventTypeAttribute used on the eventType or on one of the eventTypes specified.
UnregisterType``1 Unregisters the previously registered (see RegisterType´´1) 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.
UnregisterType``1(OpcNodeId) Unregisters the previously registered (see RegisterType´´1(OpcNodeId)) type defined by T as the OpcEvent type to not longer create for the type definition identified by the eventTypeId specified.
UnregisterTypes(Assembly) Unregisters all previously registered types (see RegisterTypes(Assembly)) in the assembly specified.
UnregisterTypes(IEnumerable) Unregisters the previously registered (see RegisterTypes(IEnumerable)) eventTypes specified.
UnregisterTypes(Type, Type) Unregisters the previously registered eventType and the further specified eventTypes (see RegisterTypes(Type, Type)).