Skip to content

Reference

OpcActionMethodNode Members

Defines a method node using a Action delegate.

Reference

OpcActionMethodNode Members ​

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

Inherits members from OpcMethodNode, OpcInstanceNode, OpcNode.

Constructors ​

OpcActionMethodNode ​

8 overloads

OverloadDescription
OpcActionMethodNode(OpcName, Action)Initializes a new instance of the OpcActionMethodNode class accessible by the name specified with the Action call given by callback.
OpcActionMethodNode(OpcName, Action<OpcMethodContext>)Initializes a new instance of the OpcActionMethodNode class accessible by the name specified with the Action<T> call given by callback.
OpcActionMethodNode(OpcName, OpcNodeId, Action)Initializes a new instance of the OpcActionMethodNode class accessible by the name and id specified with the delegate to call given by callback.
OpcActionMethodNode(OpcName, OpcNodeId, Action<OpcMethodContext>)Initializes a new instance of the OpcActionMethodNode class accessible by the name and id specified with the delegate to call given by callback.
OpcActionMethodNode(IOpcNode, OpcName, Action)Initializes a new instance of the OpcActionMethodNode class accessible by the name specified with the Action call given by callback as a child node of the parent node given.
OpcActionMethodNode(IOpcNode, OpcName, Action<OpcMethodContext>)Initializes a new instance of the OpcActionMethodNode class accessible by the name specified with the Action<T> call given by callback as a child node of the parent node given.
OpcActionMethodNode(IOpcNode, OpcName, OpcNodeId, Action)Initializes a new instance of the OpcActionMethodNode class accessible by the name and id specified with the delegate to call defined by callback as a child node of the parent node given.
OpcActionMethodNode(IOpcNode, OpcName, OpcNodeId, Action<OpcMethodContext>)Initializes a new instance of the OpcActionMethodNode class accessible by the name and id specified with the delegate to call defined by callback as a child node of the parent node given.

OpcActionMethodNode(OpcName, Action) ​

Initializes a new instance of the OpcActionMethodNode class accessible by the name specified with the Action call given by callback.

csharp
public OpcActionMethodNode(OpcName name, Action callback)
vbnet
Public Sub New(name As OpcName, callback As Action)

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new action method node can be accessed.
callbackActionThe Action to call on method invokation of the new action method node.

OpcActionMethodNode(OpcName, Action<OpcMethodContext>) ​

Initializes a new instance of the OpcActionMethodNode class accessible by the name specified with the Action<T> call given by callback.

csharp
public OpcActionMethodNode(OpcName name, Action<OpcMethodContext> callback)
vbnet
Public Sub New(name As OpcName, callback As Action(Of OpcMethodContext))

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new action method node can be accessed.
callbackAction<OpcMethodContext>The Action<T> to call on method invokation of the new action method node.

OpcActionMethodNode(OpcName, OpcNodeId, Action) ​

Initializes a new instance of the OpcActionMethodNode class accessible by the name and id specified with the delegate to call given by callback.

csharp
public OpcActionMethodNode(OpcName name, OpcNodeId id, Action callback)
vbnet
Public Sub New(name As OpcName, id As OpcNodeId, callback As Action)

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new action method node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new action method node can be identified and accessed.
callbackActionThe Action to call on method invokation of the new action method node.

OpcActionMethodNode(OpcName, OpcNodeId, Action<OpcMethodContext>) ​

Initializes a new instance of the OpcActionMethodNode class accessible by the name and id specified with the delegate to call given by callback.

csharp
public OpcActionMethodNode(
    OpcName name,
    OpcNodeId id,
    Action<OpcMethodContext> callback)
vbnet
Public Sub New(
    name As OpcName,
    id As OpcNodeId,
    callback As Action(Of OpcMethodContext))

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new action method node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new action method node can be identified and accessed.
callbackAction<OpcMethodContext>The Action<T> to call on method invokation of the new action method node.

OpcActionMethodNode(IOpcNode, OpcName, Action) ​

Initializes a new instance of the OpcActionMethodNode class accessible by the name specified with the Action call given by callback as a child node of the parent node given.

csharp
public OpcActionMethodNode(IOpcNode parent, OpcName name, Action callback)
vbnet
Public Sub New(parent As IOpcNode, name As OpcName, callback As Action)

Parameters

NameTypeDescription
parentIOpcNodeThe IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
nameOpcNameThe OpcName through that the new action method node can be accessed.
callbackActionThe Action to call on method invokation of the new action method node.

OpcActionMethodNode(IOpcNode, OpcName, Action<OpcMethodContext>) ​

Initializes a new instance of the OpcActionMethodNode class accessible by the name specified with the Action<T> call given by callback as a child node of the parent node given.

csharp
public OpcActionMethodNode(
    IOpcNode parent,
    OpcName name,
    Action<OpcMethodContext> callback)
vbnet
Public Sub New(
    parent As IOpcNode,
    name As OpcName,
    callback As Action(Of OpcMethodContext))

Parameters

NameTypeDescription
parentIOpcNodeThe IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
nameOpcNameThe OpcName through that the new action method node can be accessed.
callbackAction<OpcMethodContext>The Action<T> to call on method invokation of the new action method node.

OpcActionMethodNode(IOpcNode, OpcName, OpcNodeId, Action) ​

Initializes a new instance of the OpcActionMethodNode class accessible by the name and id specified with the delegate to call defined by callback as a child node of the parent node given.

csharp
public OpcActionMethodNode(
    IOpcNode parent,
    OpcName name,
    OpcNodeId id,
    Action callback)
vbnet
Public Sub New(
    parent As IOpcNode,
    name As OpcName,
    id As OpcNodeId,
    callback As Action)

Parameters

NameTypeDescription
parentIOpcNodeThe IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
nameOpcNameThe OpcName through that the new action method node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new action method node can be identified and accessed.
callbackActionThe Action to call on method invokation of the new action method node.

OpcActionMethodNode(IOpcNode, OpcName, OpcNodeId, Action<OpcMethodContext>) ​

Initializes a new instance of the OpcActionMethodNode class accessible by the name and id specified with the delegate to call defined by callback as a child node of the parent node given.

csharp
public OpcActionMethodNode(
    IOpcNode parent,
    OpcName name,
    OpcNodeId id,
    Action<OpcMethodContext> callback)
vbnet
Public Sub New(
    parent As IOpcNode,
    name As OpcName,
    id As OpcNodeId,
    callback As Action(Of OpcMethodContext))

Parameters

NameTypeDescription
parentIOpcNodeThe IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
nameOpcNameThe OpcName through that the new action method node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new action method node can be identified and accessed.
callbackAction<OpcMethodContext>The Action<T> to call on method invokation of the new action method node.