Reference
OpcMethodNode Members
Defines a generic method node.
Reference
OpcMethodNode<T> Members
- Type
- OpcMethodNode<T>
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
Inherits members from OpcMethodNode, OpcInstanceNode, OpcNode.
Constructors
OpcMethodNode
| Overload | Description |
|---|---|
| OpcMethodNode( | Initializes a new instance of the OpcMethodNode<name specified with the T call given by callback. |
| OpcMethodNode( | Initializes a new instance of the OpcMethodNode class accessible by the name and id specified with the delegate to call given by callback. |
| OpcMethodNode( | Initializes a new instance of the OpcMethodNode class accessible by the name specified with the T call given by callback as a child node of the parent node given. |
| OpcMethodNode( | Initializes a new instance of the OpcMethodNode 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. |
Exceptions (all overloads)
| Exception | Condition |
|---|---|
| Argument | The callback is a null reference ( |
OpcMethodNode(OpcName, T)
Initializes a new instance of the OpcMethodNode<T> class accessible by the name specified with the T call given by callback.
public OpcMethodNode(OpcName name, T callback)Public Sub New(name As OpcName, callback As T)Parameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName through that the new method node can be accessed. |
callback | T | The T to call on method invokation of the new method node. |
OpcMethodNode(OpcName, OpcNodeId, T)
Initializes a new instance of the OpcMethodNode class accessible by the name and id specified with the delegate to call given by callback.
public OpcMethodNode(OpcName name, OpcNodeId id, T callback)Public Sub New(name As OpcName, id As OpcNodeId, callback As T)Parameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName through that the new method node can be accessed. |
id | OpcNodeId | The OpcNodeId through that the new method node can be identified and accessed. |
callback | T | The T to call on method invokation of the new method node. |
OpcMethodNode(IOpcNode, OpcName, T)
Initializes a new instance of the OpcMethodNode class accessible by the name specified with the T call given by callback as a child node of the parent node given.
public OpcMethodNode(IOpcNode parent, OpcName name, T callback)Public Sub New(parent As IOpcNode, name As OpcName, callback As T)Parameters
| Name | Type | Description |
|---|---|---|
parent | IOpcNode | The IOpcNode used as the parent node or a null reference ( |
name | OpcName | The OpcName through that the new method node can be accessed. |
callback | T | The T to call on method invokation of the new method node. |
OpcMethodNode(IOpcNode, OpcName, OpcNodeId, T)
Initializes a new instance of the OpcMethodNode 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.
public OpcMethodNode(IOpcNode parent, OpcName name, OpcNodeId id, T callback)Public Sub New(
parent As IOpcNode,
name As OpcName,
id As OpcNodeId,
callback As T)Parameters
| Name | Type | Description |
|---|---|---|
parent | IOpcNode | The IOpcNode used as the parent node or a null reference ( |
name | OpcName | The OpcName through that the new method node can be accessed. |
id | OpcNodeId | The OpcNodeId through that the new method node can be identified and accessed. |
callback | T | The T to call on method invokation of the new method node. |
Properties
Callback
Gets or sets the T of the method to invoke in case there this method node is called.
public T Callback { get; set; }Public Property Callback As TProperty value
T
The T to invoke on method call.

