Skip to content

Reference

OpcAddCommentCallback Delegate

Represents the method that will apply the comment to the state of a condition node.

Reference

OpcAddCommentCallback Delegate ​

Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0

Represents the method that will apply the comment to the state of a condition node.

Syntax ​

csharp
public delegate OpcStatusCode OpcAddCommentCallback(
    OpcNodeContext<OpcConditionNode> context,
    byte[] eventId,
    OpcText comment)
vbnet
Public Delegate Function OpcAddCommentCallback(
    context As OpcNodeContext(Of OpcConditionNode),
    eventId As Byte(),
    comment As OpcText) As OpcStatusCode

Parameters ​

NameTypeDescription
contextOpcNodeContext<OpcConditionNode>The OpcNodeContext<T> to use to apply the comment.
eventIdByte[]The identifier identifying a particular event notification where a state was reported for a condition.
commentOpcTextA localized text to be applied to the condition.

Returns ​

OpcStatusCode

The OpcStatusCode which defines the outcome of the operation.

Applies to ​

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