OpcEventTypeAttribute Class

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

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.

C#

[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public class OpcEventTypeAttribute : Attribute, _Attribute


Inheritance ObjectAttribute › OpcEventTypeAttribute


Attributes AttributeUsageAttribute


Implements _Attribute

Name Description
OpcEventTypeAttribute(Byte) Initializes a new instance of the OpcEventTypeAttribute class using the id to use to identify the according event type node.
OpcEventTypeAttribute(Byte, Int32) Initializes a new instance of the OpcEventTypeAttribute class using the id and namespaceIndex to use to identify the according event type node.
OpcEventTypeAttribute(Byte, String) Initializes a new instance of the OpcEventTypeAttribute class using the id and namespaceUri specified to use to identify the according event type node.
OpcEventTypeAttribute(Int32) Initializes a new instance of the OpcEventTypeAttribute class using the id to use to identify the according event type node.
OpcEventTypeAttribute(Int32, Int32) Initializes a new instance of the OpcEventTypeAttribute class using the id and namespaceIndex to use to identify the according event type node.
OpcEventTypeAttribute(Int32, String) Initializes a new instance of the OpcEventTypeAttribute class using the id and namespaceUri specified to use to identify the according event type node.
OpcEventTypeAttribute(String) Initializes a new instance of the OpcEventTypeAttribute class using the id to use to identify the according event type node.
OpcEventTypeAttribute(String, Int32) Initializes a new instance of the OpcEventTypeAttribute class using the id and namespaceIndex to use to identify the according event type node.
OpcEventTypeAttribute(String, String) Initializes a new instance of the OpcEventTypeAttribute class using the id and namespaceUri specified to use to identify the according event type node.
OpcEventTypeAttribute(Type) Initializes a new instance of the OpcEventTypeAttribute class using the specified type.
OpcEventTypeAttribute(UInt32) Initializes a new instance of the OpcEventTypeAttribute class using the id to use to identify the according event type node.
OpcEventTypeAttribute(UInt32, Int32) Initializes a new instance of the OpcEventTypeAttribute class using the id and namespaceIndex to use to identify the according event type node.
OpcEventTypeAttribute(UInt32, String) Initializes a new instance of the OpcEventTypeAttribute class using the id and namespaceUri specified to use to identify the according event type node.
Name Description
Id Gets the node identifier used to define the event type node of the Type to that the attribute has been applied.
Type Gets the Type of OpcEvent produced by the attribute owner.