Skip to content

Reference

OpcConditionNodeExtension Members

Provides static (Shared in Visual Basic) extension methods to manage OpcConditionNode objects.

Reference

OpcConditionNodeExtension Members ​

Type
OpcConditionNodeExtension
Namespace
Opc.UaFx.Client
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0

Methods ​

AddComment ​

static · 2 overloads

OverloadDescription
AddComment(OpcConditionNode, OpcClient, OpcText)staticApplies a comment to the state reported by an event notification which can be identified by the EventId of the conditionNode specified using the further specified client.
AddComment(OpcConditionNode, OpcClient, byte[], OpcText)staticApplies a comment to the state reported by an event notification which can be identified by the eventId on the conditionNode specified using the further specified client.

Exceptions (all overloads)

ExceptionCondition
OpcExceptionThe call of the method node failed (see exception details for more information).

AddComment(OpcConditionNode, OpcClient, OpcText) ​

static

Applies a comment to the state reported by an event notification which can be identified by the EventId of the conditionNode specified using the further specified client.

csharp
public static void AddComment(
    this OpcConditionNode conditionNode,
    OpcClient client,
    OpcText comment)
vbnet
Public Shared Sub AddComment(
    conditionNode As OpcConditionNode,
    client As OpcClient,
    comment As OpcText)

Parameters

NameTypeDescription
conditionNodeOpcConditionNodeThe OpcConditionNode its 'AddComment' method node is to be called.
clientOpcClientThe OpcClient to use to call the method.
commentOpcTextThe text to apply on the condition state.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe conditionNode or client is a null reference (Nothing in Visual Basic).

AddComment(OpcConditionNode, OpcClient, byte[], OpcText) ​

static

Applies a comment to the state reported by an event notification which can be identified by the eventId on the conditionNode specified using the further specified client.

csharp
public static void AddComment(
    this OpcConditionNode conditionNode,
    OpcClient client,
    byte[] eventId,
    OpcText comment)
vbnet
Public Shared Sub AddComment(
    conditionNode As OpcConditionNode,
    client As OpcClient,
    eventId As Byte(),
    comment As OpcText)

Parameters

NameTypeDescription
conditionNodeOpcConditionNodeThe OpcConditionNode its 'AddComment' method node is to be called.
clientOpcClientThe OpcClient to use to call the method.
eventIdByte[]The identifier which identifies the particular event notification its reported state for the conditionNode is to be commented.
commentOpcTextThe text to apply on the condition state.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe conditionNode, client or eventId is a null reference (Nothing in Visual Basic).

Disable ​

static

Changes the condition state to 'Disabled' of the conditionNode specified using the further specified client.

csharp
public static void Disable(
    this OpcConditionNode conditionNode,
    OpcClient client)
vbnet
Public Shared Sub Disable(
    conditionNode As OpcConditionNode,
    client As OpcClient)

Parameters

NameTypeDescription
conditionNodeOpcConditionNodeThe OpcConditionNode its 'Disable' method node is to be called.
clientOpcClientThe OpcClient to use to call the method.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe conditionNode or client is a null reference (Nothing in Visual Basic).
OpcExceptionThe call of the method node failed (see exception details for more information).

Enable ​

static

Changes the condition state to 'Enabled' of the conditionNode specified using the further specified client.

csharp
public static void Enable(this OpcConditionNode conditionNode, OpcClient client)
vbnet
Public Shared Sub Enable(conditionNode As OpcConditionNode, client As OpcClient)

Parameters

NameTypeDescription
conditionNodeOpcConditionNodeThe OpcConditionNode its 'Enable' method node is to be called.
clientOpcClientThe OpcClient to use to call the method.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe conditionNode or client is a null reference (Nothing in Visual Basic).
OpcExceptionThe call of the method node failed (see exception details for more information).