Skip to content

Reference

OpcEventTypeAttribute Class

Defines the identifier of a custom event type which is represented by the Type on that this attribute is applied.

Reference

OpcEventTypeAttribute Class ​

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

Defines the identifier of a custom event type which is represented by the Type on that this attribute is applied. If the Type which uses the attribute is an 'OpcEventNode' derivate the attribute additionally defined which type of OpcEvent instances are reported.

Syntax ​

csharp
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public class OpcEventTypeAttribute : Attribute
vbnet
<AttributeUsage(AttributeTargets.Class, AllowMultiple:=False, Inherited:=True)>
Public Class OpcEventTypeAttribute
    Inherits Attribute

Inheritance ​

Object → Attribute → OpcEventTypeAttribute

Constructors ​

NameDescription
OpcEventTypeAttribute13 overloadsInitializes a new instance of the OpcEventTypeAttribute class using the specified type.

Properties ​

NameDescription
Idsince v2.8Gets the node identifier used to define the event type node of the Type to that the attribute has been applied.
TypeGets the Type of OpcEvent produced by the attribute owner.

Inherits members from Attribute.

Applies to ​

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