Base class for all OPC/UA nodes. More...
Inherits INativeHandle, and INode.
Inherited by ClientNodeBase, and ServerNodeBase.
Public Member Functions | |
void | Dispose () |
Disposes the native object wrapped by this object immediately. More... | |
Protected Member Functions | |
NodeBase (IntPtr handle) | |
Creates a new Node object from the given handle . More... | |
virtual void | Dispose (bool disposing) |
IDispose helper function. More... | |
Protected Attributes | |
object | LockAnchor = new object() |
Enables thread safety for "transparent" .Net side operations. | |
Properties | |
IntPtr | Handle [get] |
Native CVB CVOPCNODE handle. More... | |
bool | IsDisposed [get] |
Tests whether the native handle has been disposed. | |
NodeId | NodeId [get] |
Gets the NodeId identifying this Node. | |
string | BrowseName [get] |
Gets string node identifier (especially for browsing). | |
string | DisplayName [get] |
Node name for displaying it in a user interface. | |
string | Description [get] |
Optional description of this node's role and behavior. | |
![]() | |
IntPtr | Handle [get] |
The native handle of the object. | |
bool | IsDisposed [get] |
Possibility to check whether the object has already been disposed of. | |
![]() | |
NodeId | NodeId [get] |
Gets the NodeId uniquely identifying this INode. | |
string | BrowseName [get] |
Gets string node identifier (especially for browsing). | |
string | DisplayName [get] |
Node name for displaying it in a user interface. | |
string | Description [get] |
Optional description of this node's role and behavior. | |
Events | |
NativeHandleEventDelegate | ObjectDisposing |
Raised when this object is about to be disposed via the IDisposable.Dispose method. More... | |
![]() | |
NativeHandleEventDelegate | ObjectDisposing |
Raised when this object is about to be disposed via the IDisposable.Dispose method. More... | |
Base class for all OPC/UA nodes.
|
protected |
Creates a new Node object from the given handle .
handle | Native CVOPCNODE handle. |
void Dispose | ( | ) |
Disposes the native object wrapped by this object immediately.
Call this method to release the resources allocated by this node immediately. Remember that after calling Dispose, any subsequent access to references to this image will result in an ObjectDisposedException.
|
protectedvirtual |
IDispose helper function.
disposing | true when called via IDisposable.Dispose, false when called by the finalizer. |
Reimplemented in ServerMethodNode, and ServerVariableNodeBase.
|
get |
Native CVB CVOPCNODE handle.
It is normally not necessary to work with this handle in CVB.Net. Note that using this handle in connection with the legacy CVB managed wrappers may actually be disruptive to your application.
Implements INativeHandle.
NativeHandleEventDelegate ObjectDisposing |
Raised when this object is about to be disposed via the IDisposable.Dispose method.
This event is raised right before this object is disposed. The dispose itself cannot be canceled.