Skip to content

Reference

OpcEventFilter Members

Represents the filter of a monitored item for events, as defined by the EventFilter of OPC UA: the select clauses define the fields to report of each event and the where clause defines the events to report.

Reference

OpcEventFilter Members ​

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

Constructors ​

OpcEventFilter ​

4 overloads

OverloadDescription
OpcEventFilter(params OpcSimpleAttributeOperand[])Initializes a new instance of the OpcEventFilter class using the specified selectClauses and a where clause which does not restrict the events.
OpcEventFilter(IEnumerable<OpcSimpleAttributeOperand>)Initializes a new instance of the OpcEventFilter class using the specified selectClauses and a where clause which does not restrict the events.
OpcEventFilter(OpcContentFilter, params OpcSimpleAttributeOperand[])Initializes a new instance of the OpcEventFilter class using the specified whereClause and selectClauses.
OpcEventFilter(OpcContentFilter, IEnumerable<OpcSimpleAttributeOperand>)Initializes a new instance of the OpcEventFilter class using the specified whereClause and selectClauses.

OpcEventFilter(params OpcSimpleAttributeOperand[]) ​

Initializes a new instance of the OpcEventFilter class using the specified selectClauses and a where clause which does not restrict the events.

csharp
public OpcEventFilter(params OpcSimpleAttributeOperand[] selectClauses)
vbnet
Public Sub New(ParamArray selectClauses As OpcSimpleAttributeOperand())

Parameters

NameTypeDescription
selectClausesparams OpcSimpleAttributeOperand[]The operands which select the fields to report of each event.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe selectClauses or one of its elements is a null reference (Nothing in Visual Basic).

OpcEventFilter(IEnumerable<OpcSimpleAttributeOperand>) ​

Initializes a new instance of the OpcEventFilter class using the specified selectClauses and a where clause which does not restrict the events.

csharp
public OpcEventFilter(IEnumerable<OpcSimpleAttributeOperand> selectClauses)
vbnet
Public Sub New(selectClauses As IEnumerable(Of OpcSimpleAttributeOperand))

Parameters

NameTypeDescription
selectClausesIEnumerable<OpcSimpleAttributeOperand>The operands which select the fields to report of each event.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe selectClauses or one of its elements is a null reference (Nothing in Visual Basic).

OpcEventFilter(OpcContentFilter, params OpcSimpleAttributeOperand[]) ​

Initializes a new instance of the OpcEventFilter class using the specified whereClause and selectClauses.

csharp
public OpcEventFilter(
    OpcContentFilter whereClause,
    params OpcSimpleAttributeOperand[] selectClauses)
vbnet
Public Sub New(
    whereClause As OpcContentFilter,
    ParamArray selectClauses As OpcSimpleAttributeOperand())

Parameters

NameTypeDescription
whereClauseOpcContentFilterThe OpcContentFilter which defines the events to report.
selectClausesparams OpcSimpleAttributeOperand[]The operands which select the fields to report of each event.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe whereClause, the selectClauses or one of its elements is a null reference (Nothing in Visual Basic).

OpcEventFilter(OpcContentFilter, IEnumerable<OpcSimpleAttributeOperand>) ​

Initializes a new instance of the OpcEventFilter class using the specified whereClause and selectClauses.

csharp
public OpcEventFilter(
    OpcContentFilter whereClause,
    IEnumerable<OpcSimpleAttributeOperand> selectClauses)
vbnet
Public Sub New(
    whereClause As OpcContentFilter,
    selectClauses As IEnumerable(Of OpcSimpleAttributeOperand))

Parameters

NameTypeDescription
whereClauseOpcContentFilterThe OpcContentFilter which defines the events to report.
selectClausesIEnumerable<OpcSimpleAttributeOperand>The operands which select the fields to report of each event.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe whereClause, the selectClauses or one of its elements is a null reference (Nothing in Visual Basic).

Properties ​

SelectClause ​

Gets the operands which select the fields to report of each event.

csharp
public OpcSimpleAttributeOperandReadOnlyCollection SelectClause { get; }
vbnet
Public ReadOnly Property SelectClause As OpcSimpleAttributeOperandReadOnlyCollection

Property value

OpcSimpleAttributeOperandReadOnlyCollection

A read-only collection of the OpcSimpleAttributeOperand instances in the order of the fields reported.

WhereClause ​

Gets the filter which defines the events to report.

csharp
public OpcContentFilter WhereClause { get; }
vbnet
Public ReadOnly Property WhereClause As OpcContentFilter

Property value

OpcContentFilter

The OpcContentFilter which an event has to match to be reported.