Skip to content

Reference

OpcMethodNode Class

Defines a method node.

Reference

OpcMethodNode Class ​

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

Defines a method node.

Syntax ​

csharp
public class OpcMethodNode : OpcInstanceNode
vbnet
Public Class OpcMethodNode
    Inherits OpcInstanceNode

Inheritance ​

Object → OpcNode → OpcInstanceNode → OpcMethodNode

Implements ​

Derived types ​

Constructors ​

NameDescription
OpcMethodNode16 overloadsInitializes a new instance of the OpcMethodNode class accessible by the name specified with the Delegate call given by callback.

Properties ​

NameDescription
CallbackGets the Delegate of the method to invoke in case there this method node is called.
CanExecuteGets or sets a value indicating whether the method can be called.
CanUserExecuteGets or sets a value indicating whether the method can be called by the current user.
Commandsince v2.9Gets the IOpcMethodCommand of the method to invoke in case there this method node is called.
DefaultReferenceTypeIdprotected · overrideGets the default identifier which identifies the type that defines the underlying node reference within this OpcInstanceNode is referenced by its parent node.
InputArgumentsGets a read-only collection of OpcArgument instances representing the arguments consumed by the method node.
OutputArgumentsGets a read-only collection of OpcArgument instances representing the arguments produced by the method node.

Methods ​

NameDescription
Callsince v2.33Calls the method represented by this node on its parent node using the inputArguments specified.
InitializeDefaultsprotected · overrideInitializes the default values used by the OpcInstanceNode.
ReadAttributeValueCoreprotected · override · since v2.9Determines the value of the attribute to read.
WriteAttributeValueCoreprotected · override · since v2.9Determines the value of the attribute to write.

Inherits members from OpcInstanceNode, OpcNode.

Applies to ​

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