Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcActionMethodNode type exposes the following members.
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.
C#
public OpcActionMethodNode(IOpcNode parent, OpcName name, Action callback)
Parameters
parent
IOpcNode
The IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
name
OpcName
The OpcName through that the new action method node can be accessed.
callback
Action
The Action to call on method invokation of the new action method node.
Initializes a new instance of the OpcActionMethodNode class accessible by the name
specified with the Action´1 call given by callback
as a child node of the parent
node given.
C#
public OpcActionMethodNode(IOpcNode parent, OpcName name, Action<OpcMethodContext> callback)
Parameters
parent
IOpcNode
The IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
name
OpcName
The OpcName through that the new action method node can be accessed.
callback
Action<OpcMethodContext>
The Action´1 to call on method invokation of the new action method node.
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.
C#
public OpcActionMethodNode(IOpcNode parent, OpcName name, OpcNodeId id, Action callback)
Parameters
parent
IOpcNode
The IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
name
OpcName
The OpcName through that the new action method node can be accessed.
id
OpcNodeId
The OpcNodeId through that the new action method node can be identified and accessed.
callback
Action
The Action to call on method invokation of the new action method node.
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.
C#
public OpcActionMethodNode(IOpcNode parent, OpcName name, OpcNodeId id, Action<OpcMethodContext> callback)
Parameters
parent
IOpcNode
The IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
name
OpcName
The OpcName through that the new action method node can be accessed.
id
OpcNodeId
The OpcNodeId through that the new action method node can be identified and accessed.
callback
Action<OpcMethodContext>
The Action´1 to call on method invokation of the new action method node.
Initializes a new instance of the OpcActionMethodNode class accessible by the name
specified with the Action call given by callback
.
C#
public OpcActionMethodNode(OpcName name, Action callback)
Parameters
name
OpcName
The OpcName through that the new action method node can be accessed.
callback
Action
The Action to call on method invokation of the new action method node.
Initializes a new instance of the OpcActionMethodNode class accessible by the name
specified with the Action´1 call given by callback
.
C#
public OpcActionMethodNode(OpcName name, Action<OpcMethodContext> callback)
Parameters
name
OpcName
The OpcName through that the new action method node can be accessed.
callback
Action<OpcMethodContext>
The Action´1 to call on method invokation of the new action method node.
Initializes a new instance of the OpcActionMethodNode class accessible by the name
and id
specified with the delegate to call given by callback
.
C#
public OpcActionMethodNode(OpcName name, OpcNodeId id, Action callback)
Parameters
name
OpcName
The OpcName through that the new action method node can be accessed.
id
OpcNodeId
The OpcNodeId through that the new action method node can be identified and accessed.
callback
Action
The Action to call on method invokation of the new action method node.
Initializes a new instance of the OpcActionMethodNode class accessible by the name
and id
specified with the delegate to call given by callback
.
C#
public OpcActionMethodNode(OpcName name, OpcNodeId id, Action<OpcMethodContext> callback)
Parameters
name
OpcName
The OpcName through that the new action method node can be accessed.
id
OpcNodeId
The OpcNodeId through that the new action method node can be identified and accessed.
callback
Action<OpcMethodContext>
The Action´1 to call on method invokation of the new action method node.