Skip to content

Reference

OpcEventTypeAttribute Members

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

Reference

OpcEventTypeAttribute Members ​

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

Inherits members from Attribute.

Constructors ​

OpcEventTypeAttribute ​

13 overloads

OverloadDescription
OpcEventTypeAttribute(Type)Initializes a new instance of the OpcEventTypeAttribute class using the specified type.
OpcEventTypeAttribute(byte[])since v2.8Initializes a new instance of the OpcEventTypeAttribute class using the id to use to identify the according event type node.
OpcEventTypeAttribute(byte[], int)since v2.8Initializes a new instance of the OpcEventTypeAttribute class using the id and namespaceIndex to use to identify the according event type node.
OpcEventTypeAttribute(byte[], string)since v2.8Initializes a new instance of the OpcEventTypeAttribute class using the id and namespaceUri specified to use to identify the according event type node.
OpcEventTypeAttribute(int)since v2.8Initializes a new instance of the OpcEventTypeAttribute class using the id to use to identify the according event type node.
OpcEventTypeAttribute(int, int)since v2.8Initializes a new instance of the OpcEventTypeAttribute class using the id and namespaceIndex to use to identify the according event type node.
OpcEventTypeAttribute(int, string)since v2.8Initializes a new instance of the OpcEventTypeAttribute class using the id and namespaceUri specified to use to identify the according event type node.
OpcEventTypeAttribute(uint)since v2.8Initializes a new instance of the OpcEventTypeAttribute class using the id to use to identify the according event type node.
OpcEventTypeAttribute(uint, int)since v2.8Initializes a new instance of the OpcEventTypeAttribute class using the id and namespaceIndex to use to identify the according event type node.
OpcEventTypeAttribute(uint, string)since v2.8Initializes a new instance of the OpcEventTypeAttribute class using the id and namespaceUri specified to use to identify the according event type node.
OpcEventTypeAttribute(string)since v2.8Initializes a new instance of the OpcEventTypeAttribute class using the id to use to identify the according event type node.
OpcEventTypeAttribute(string, int)since v2.8Initializes a new instance of the OpcEventTypeAttribute class using the id and namespaceIndex to use to identify the according event type node.
OpcEventTypeAttribute(string, string)since v2.8Initializes 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.

csharp
public OpcEventTypeAttribute(Type type)
vbnet
Public Sub New(type As Type)

Parameters

NameTypeDescription
typeTypeThe type of OpcEvent produced when calling 'Opc.UaFx.OpcEventNode.CreateEvent(OpcContext)'.

OpcEventTypeAttribute(byte[]) ​

since v2.8

Initializes a new instance of the OpcEventTypeAttribute class using the id to use to identify the according event type node.

csharp
public OpcEventTypeAttribute(byte[] id)
vbnet
Public Sub New(id As Byte())

Parameters

NameTypeDescription
idByte[]The opaque value of the event type node.

OpcEventTypeAttribute(byte[], int) ​

since v2.8

Initializes a new instance of the OpcEventTypeAttribute class using the id and namespaceIndex to use to identify the according event type node.

csharp
public OpcEventTypeAttribute(byte[] id, int namespaceIndex)
vbnet
Public Sub New(id As Byte(), namespaceIndex As Integer)

Parameters

NameTypeDescription
idByte[]The opaque value of the event type node.
namespaceIndexInt32The index of the namespace to that the event type node belongs.

OpcEventTypeAttribute(byte[], string) ​

since v2.8

Initializes a new instance of the OpcEventTypeAttribute class using the id and namespaceUri specified to use to identify the according event type node.

csharp
public OpcEventTypeAttribute(byte[] id, string namespaceUri)
vbnet
Public Sub New(id As Byte(), namespaceUri As String)

Parameters

NameTypeDescription
idByte[]The opaque value of the event type node.
namespaceUriStringThe namespace URI that the Id should refer to.

OpcEventTypeAttribute(int) ​

since v2.8

Initializes a new instance of the OpcEventTypeAttribute class using the id to use to identify the according event type node.

csharp
public OpcEventTypeAttribute(int id)
vbnet
Public Sub New(id As Integer)

Parameters

NameTypeDescription
idInt32The numeric identifier of the event type node.

OpcEventTypeAttribute(int, int) ​

since v2.8

Initializes a new instance of the OpcEventTypeAttribute class using the id and namespaceIndex to use to identify the according event type node.

csharp
public OpcEventTypeAttribute(int id, int namespaceIndex)
vbnet
Public Sub New(id As Integer, namespaceIndex As Integer)

Parameters

NameTypeDescription
idInt32The numeric identifier of the event type node.
namespaceIndexInt32The index of the namespace to that the event type node belongs.

OpcEventTypeAttribute(int, string) ​

since v2.8

Initializes a new instance of the OpcEventTypeAttribute class using the id and namespaceUri specified to use to identify the according event type node.

csharp
public OpcEventTypeAttribute(int id, string namespaceUri)
vbnet
Public Sub New(id As Integer, namespaceUri As String)

Parameters

NameTypeDescription
idInt32The numeric identifier of the event type node.
namespaceUriStringThe namespace URI that the Id should refer to.

OpcEventTypeAttribute(uint) ​

since v2.8

Initializes a new instance of the OpcEventTypeAttribute class using the id to use to identify the according event type node.

csharp
public OpcEventTypeAttribute(uint id)
vbnet
Public Sub New(id As UInteger)

Parameters

NameTypeDescription
idUInt32The numeric identifier of the event type node.

OpcEventTypeAttribute(uint, int) ​

since v2.8

Initializes a new instance of the OpcEventTypeAttribute class using the id and namespaceIndex to use to identify the according event type node.

csharp
public OpcEventTypeAttribute(uint id, int namespaceIndex)
vbnet
Public Sub New(id As UInteger, namespaceIndex As Integer)

Parameters

NameTypeDescription
idUInt32The numeric identifier of the event type node.
namespaceIndexInt32The index of the namespace to that the event type node belongs.

OpcEventTypeAttribute(uint, string) ​

since v2.8

Initializes a new instance of the OpcEventTypeAttribute class using the id and namespaceUri specified to use to identify the according event type node.

csharp
public OpcEventTypeAttribute(uint id, string namespaceUri)
vbnet
Public Sub New(id As UInteger, namespaceUri As String)

Parameters

NameTypeDescription
idUInt32The numeric identifier of the event type node.
namespaceUriStringThe namespace URI that the Id should refer to.

OpcEventTypeAttribute(string) ​

since v2.8

Initializes a new instance of the OpcEventTypeAttribute class using the id to use to identify the according event type node.

csharp
public OpcEventTypeAttribute(string id)
vbnet
Public Sub New(id As String)

Parameters

NameTypeDescription
idStringThe textual identifier of the event type node.

OpcEventTypeAttribute(string, int) ​

since v2.8

Initializes a new instance of the OpcEventTypeAttribute class using the id and namespaceIndex to use to identify the according event type node.

csharp
public OpcEventTypeAttribute(string id, int namespaceIndex)
vbnet
Public Sub New(id As String, namespaceIndex As Integer)

Parameters

NameTypeDescription
idStringThe textual identifier of the event type node.
namespaceIndexInt32The index of the namespace to that the event type node belongs.

OpcEventTypeAttribute(string, string) ​

since v2.8

Initializes a new instance of the OpcEventTypeAttribute class using the id and namespaceUri specified to use to identify the according event type node.

csharp
public OpcEventTypeAttribute(string id, string namespaceUri)
vbnet
Public Sub New(id As String, namespaceUri As String)

Parameters

NameTypeDescription
idStringThe textual identifier of the event type node.
namespaceUriStringThe namespace URI that the Id should refer to.

Properties ​

Id ​

since v2.8

Gets the node identifier used to define the event type node of the Type to that the attribute has been applied.

csharp
public OpcNodeId Id { get; }
vbnet
Public ReadOnly Property Id As OpcNodeId

Property value

OpcNodeId

An instance of the OpcNodeId which identifies 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.

csharp
public Type Type { get; set; }
vbnet
Public Property Type As Type

Property value

Type

The type of OpcEvent produced by the 'Opc.UaFx.OpcEventNode' to which this OpcEventTypeAttribute belongs.