Reference
OpcNodeManager Members
Provides an abstract base class used to organize and maintain the address space or only a part of it.
Reference
OpcNodeManager Members
- Type
- OpcNodeManager
- Namespace
- Opc.UaFx.Server
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
Constructors
OpcNodeManager
| Overload | Description |
|---|---|
| OpcNodeManager( | Initializes a new instance of the OpcNodeManager class using the defaultNamespace and additionally specified namespaces. |
| OpcNodeManager( | Initializes a new instance of the OpcNodeManager class using the defaultNamespace and additionally specified string-based namespaces. |
| OpcNodeManager( | Initializes a new instance of the OpcNodeManager class using the default and additionally specified Uri-based namespaceUris. |
OpcNodeManager(OpcNamespace, params OpcNamespace[])
Initializes a new instance of the OpcNodeManager class using the defaultNamespace and additionally specified namespaces.
protected OpcNodeManager(
OpcNamespace defaultNamespace,
params OpcNamespace[] namespaces)Protected Sub New(
defaultNamespace As OpcNamespace,
ParamArray namespaces As OpcNamespace())Parameters
| Name | Type | Description |
|---|---|---|
defaultNamespace | OpcNamespace | The default OpcNamespace used for the DefaultNamespace property. In case there Assign |
namespaces | params OpcNamespace[] | An array of OpcNamespace instances indicating which namespaces are as well maintained by the new OpcNodeManager. The instances can then found in the Namespaces property as well. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The defaultNamespace or one of the items in namespaces refers to a namespace which presets a namespace index. The according namespace index is determined by the server. |
| Argument | The defaultNamespace or one of the items in namespaces is a null reference ( |
OpcNodeManager(string, params string[])
Initializes a new instance of the OpcNodeManager class using the defaultNamespace and additionally specified string-based namespaces.
protected OpcNodeManager(string defaultNamespace, params string[] namespaces)Protected Sub New(defaultNamespace As String, ParamArray namespaces As String())Parameters
| Name | Type | Description |
|---|---|---|
defaultNamespace | String | The string representation of the default OpcNamespace which is used for the DefaultNamespace property. In case there Assign |
namespaces | params String[] | An array of string representations of the OpcNamespace indicating which namespaces are as well maintained by the new OpcNodeManager. The used OpcNamespace instances can be found in the Namespaces property as well. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The defaultNamespace or one of the items in namespaces is an empty string. |
| Argument | The defaultNamespace or one of the items in namespaces is a null reference ( |
OpcNodeManager(Uri, params Uri[])
Initializes a new instance of the OpcNodeManager class using the defaultNamespaceUri and additionally specified Uri-based namespaceUris.
protected OpcNodeManager(Uri defaultNamespaceUri, params Uri[] namespaceUris)Protected Sub New(defaultNamespaceUri As Uri, ParamArray namespaceUris As Uri())Parameters
| Name | Type | Description |
|---|---|---|
default | Uri | The Uri representation of the default OpcNamespace which is used for the DefaultNamespace property. In case there Assign |
namespaceUris | params Uri[] | An array of Uri representations of the OpcNamespace indicating which namespaces are as well maintained by the new OpcNodeManager. The used OpcNamespace instances can be found in the Namespaces property as well. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The default or one of the items in namespaceUris is a null reference ( |
Properties
DefaultNamespace
Gets the default namespace of the node manager.
public OpcNamespace DefaultNamespace { get; }Public ReadOnly Property DefaultNamespace As OpcNamespaceProperty value
The OpcNamespace specified as the default namespace when the node manager was created. When the server is started, the instance is replaced by the namespace the server has registered for it.
DefaultNamespaceIndex
Gets the index of the default namespace of the node manager.
public int DefaultNamespaceIndex { get; }Public ReadOnly Property DefaultNamespaceIndex As IntegerProperty value
The Index of the DefaultNamespace, which the server assigns when it is started.
DefaultNamespaceUri
Gets the URI of the default namespace of the node manager.
public Uri DefaultNamespaceUri { get; }Public ReadOnly Property DefaultNamespaceUri As UriProperty value
The Uri of the DefaultNamespace.
DefaultNamespaceValue
Gets the textual value of the default namespace of the node manager.
public string DefaultNamespaceValue { get; }Public ReadOnly Property DefaultNamespaceValue As StringProperty value
The Value of the DefaultNamespace.
Namespaces
Gets the namespaces maintained by the node manager.
public OpcReadOnlyNamespaceCollection Namespaces { get; }Public ReadOnly Property Namespaces As OpcReadOnlyNamespaceCollectionProperty value
OpcReadOnlyNamespaceCollection
An OpcReadOnlyNamespaceCollection which starts with the DefaultNamespace, followed by the further namespaces specified when the node manager was created, without duplicates.
NodeIdFactory
Gets or sets the OpcNodeIdFactory instance used by this node manager to determine / create node identifiers for the nodes provided / defined by the node manager.
protected virtual OpcNodeIdFactory NodeIdFactory { get; set; }Protected Overridable Property NodeIdFactory As OpcNodeIdFactoryProperty value
An instance of the OpcNodeIdFactory class. In case there is no custom OpcNodeIdFactory defined. The Factory is used.
Nodes
Gets the nodes of the node manager.
public OpcReadOnlyNodeCollection Nodes { get; }Public ReadOnly Property Nodes As OpcReadOnlyNodeCollectionProperty value
An OpcReadOnlyNodeCollection with the nodes of the address space part maintained by the node manager; an empty collection until the server has created the address space.
NodeSetImportOptions
Gets or sets the options to use to import the node sets provided by ImportNodes.
protected virtual OpcNodeSetImportOptions NodeSetImportOptions { get; set; }Protected Overridable Property NodeSetImportOptions As OpcNodeSetImportOptionsProperty value
A combination of the OpcNodeSetImportOptions flags. The default value is None.
Remarks
The flags CompleteDataTypeDefinitionFields and CompleteDataTypeDefinitionDefaultEncoding apply to the data types of all node managers of the server as soon as one node manager sets them.
NotifierNodes
Gets the nodes of the node manager which act as notifiers (event sources) of the 'Server' node.
public OpcReadOnlyNodeCollection NotifierNodes { get; }Public ReadOnly Property NotifierNodes As OpcReadOnlyNodeCollectionProperty value
An OpcReadOnlyNodeCollection with the notifier nodes; an empty collection until the server has created the address space.
SyncRoot
Gets the object the node manager locks while it notifies monitored items about changes of its nodes and while it creates, modifies or deletes monitored items, browses, translates browse paths or accesses the history of its nodes.
protected object SyncRoot { get; }Protected ReadOnly Property SyncRoot As ObjectProperty value
The lock of this node manager. Every node manager has a lock of its own.
Remarks
The SDK does not synchronize changes of nodes. A value set, ApplyChanges and ReportEvent can be called from any thread, but changes of the same node from several threads at once can lose a notification or report a torn state.
Holding this lock while changing and applying changes serializes them with other code holding it and with the notification of monitored items. It does not serialize them with the Read and Write services of clients, which only lock the node accessed, nor with method calls, which run without this lock.
The notification of monitored items and the creation of monitored items call read callbacks and the monitored item events with this lock held. Such code must not wait for another thread that holds the lock of a different node manager and reports an event, because an event takes the lock of the node manager of every notifier it passes.
The lock is not public, because holding it outside of the node manager would not make changes atomic to clients either. Code that changes several nodes together therefore belongs into a method of the node manager, which can hold this lock.
SystemContext
Gets the context which the node manager uses to access its nodes.
protected OpcContext SystemContext { get; }Protected ReadOnly Property SystemContext As OpcContextProperty value
The OpcContext of the server for the node manager; a null reference (Nothing in Visual Basic) until the server using the node manager has been started.
UseAsyncMethodCalls
Gets a value indicating whether every call to a OpcMethodNode defined by the current OpcNodeManager is to be processed asynchronously using one worker thread per method call.
protected virtual bool UseAsyncMethodCalls { get; }Protected Overridable ReadOnly Property UseAsyncMethodCalls As BooleanProperty value
The value true if every method call (which belongs to OpcMethodNode objects defined by the current OpcNodeManager) is to be processed parallel to each other; otherwise the value false to process method calls in their sequence. The default value is false.
Remarks
This behavior can be controlled by each node manager on its own. Just override the UseAsyncMethodCalls property and provide the value true in the node managers which shall process method calls in parallel.
Every OpcMethodNode defined with a delegate to a method its return value provides a Task is already processed in parallel.
Use the UseAsyncMethodCalls property to control this behavior for every node manager used.
Methods
AddNode
| Overload | Description |
|---|---|
| AddNode( | Adds the node specified to the address space of the node manager. |
| AddNode( | Adds the node specified to the address space of the node manager using the context specified. |
| AddNode( | Adds the node specified to the address space of the node manager using the references specified. |
| AddNode( | Adds the node specified to the address space of the node manager using the references specified. |
| AddNode( | Adds the node specified to the address space of the node manager using the references specified. |
| AddNode( | Adds the node specified to the address space of the node manager using the context and references specified. |
| AddNode( | Adds the node specified to the address space of the node manager using the context and references specified. |
| AddNode( | Adds the node specified to the address space of the node manager using the context and references specified. |
Exceptions (all overloads)
| Exception | Condition |
|---|---|
| Invalid | The server using the node manager has not yet been started. |
AddNode(IOpcNode)
Adds the node specified to the address space of the node manager.
public void AddNode(IOpcNode node)Public Sub AddNode(node As IOpcNode)Parameters
| Name | Type | Description |
|---|---|---|
node | IOpcNode | The IOpcNode to add. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The node is a null reference ( |
Remarks
A node which is already part of the address space is not added again.
AddNode(OpcContext, IOpcNode)
Adds the node specified to the address space of the node manager using the context specified.
public void AddNode(OpcContext context, IOpcNode node)Public Sub AddNode(context As OpcContext, node As IOpcNode)Parameters
| Name | Type | Description |
|---|---|---|
context | OpcContext | The OpcContext to use to add the node. |
node | IOpcNode | The IOpcNode to add. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The context or node is a null reference ( |
Remarks
A node which is already part of the address space is not added again.
AddNode(IOpcNode, IEnumerable<IOpcNodeReferenceAware>)
Adds the node specified to the address space of the node manager using the references specified.
protected void AddNode(
IOpcNode node,
IEnumerable<IOpcNodeReferenceAware> references)Protected Sub AddNode(
node As IOpcNode,
references As IEnumerable(Of IOpcNodeReferenceAware))Parameters
| Name | Type | Description |
|---|---|---|
node | IOpcNode | The IOpcNode to add. |
references | IEnumerable<IOpc | A sequence of IOpc |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The node or references is a null reference ( |
Remarks
A node which is already part of the address space is not added again.
AddNode(IOpcNode, params IOpcNodeReferenceAware[])
Adds the node specified to the address space of the node manager using the references specified.
protected void AddNode(
IOpcNode node,
params IOpcNodeReferenceAware[] references)Protected Sub AddNode(
node As IOpcNode,
ParamArray references As IOpcNodeReferenceAware())Parameters
| Name | Type | Description |
|---|---|---|
node | IOpcNode | The IOpcNode to add. |
references | params IOpc | An array of IOpc |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The node or references is a null reference ( |
Remarks
A node which is already part of the address space is not added again.
AddNode(IOpcNode, OpcNodeReferenceCollection)
Adds the node specified to the address space of the node manager using the references specified.
protected void AddNode(IOpcNode node, OpcNodeReferenceCollection references)Protected Sub AddNode(
node As IOpcNode,
references As OpcNodeReferenceCollection)Parameters
| Name | Type | Description |
|---|---|---|
node | IOpcNode | The IOpcNode to add. |
references | Opc | The Opc |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The node or references is a null reference ( |
Remarks
A node which is already part of the address space is not added again.
AddNode(OpcContext, IOpcNode, IEnumerable<IOpcNodeReferenceAware>)
Adds the node specified to the address space of the node manager using the context and references specified.
protected virtual void AddNode(
OpcContext context,
IOpcNode node,
IEnumerable<IOpcNodeReferenceAware> references)Protected Overridable Sub AddNode(
context As OpcContext,
node As IOpcNode,
references As IEnumerable(Of IOpcNodeReferenceAware))Parameters
| Name | Type | Description |
|---|---|---|
context | OpcContext | The OpcContext to use to add the node. |
node | IOpcNode | The IOpcNode to add. |
references | IEnumerable<IOpc | A sequence of IOpc |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The context, node or references is a null reference ( |
Remarks
A node which is already part of the address space is not added again.
AddNode(OpcContext, IOpcNode, params IOpcNodeReferenceAware[])
Adds the node specified to the address space of the node manager using the context and references specified.
protected void AddNode(
OpcContext context,
IOpcNode node,
params IOpcNodeReferenceAware[] references)Protected Sub AddNode(
context As OpcContext,
node As IOpcNode,
ParamArray references As IOpcNodeReferenceAware())Parameters
| Name | Type | Description |
|---|---|---|
context | OpcContext | The OpcContext to use to add the node. |
node | IOpcNode | The IOpcNode to add. |
references | params IOpc | An array of IOpc |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The context, node or references is a null reference ( |
Remarks
A node which is already part of the address space is not added again.
AddNode(OpcContext, IOpcNode, OpcNodeReferenceCollection)
Adds the node specified to the address space of the node manager using the context and references specified.
protected virtual void AddNode(
OpcContext context,
IOpcNode node,
OpcNodeReferenceCollection references)Protected Overridable Sub AddNode(
context As OpcContext,
node As IOpcNode,
references As OpcNodeReferenceCollection)Parameters
| Name | Type | Description |
|---|---|---|
context | OpcContext | The OpcContext to use to add the node. |
node | IOpcNode | The IOpcNode to add. |
references | Opc | The Opc |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The context, node or references is a null reference ( |
Remarks
A node which is already part of the address space is not added again.
AddNotifierNode
Adds the node to the collection of 'root' notifiers (= event sources) of the 'Server' node.
protected void AddNotifierNode(IOpcNode node)Protected Sub AddNotifierNode(node As IOpcNode)Parameters
| Name | Type | Description |
|---|---|---|
node | IOpcNode | The IOpcNode instance acting as the notifier of the 'Server' node. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The node is a null reference ( |
| Invalid | The master node has not yet been created, therefore the operation is at the moment not available. |
Browse
Browses the references of a node of the node manager on behalf of a client.
protected virtual OpcBrowsePoint Browse(
OpcContext context,
OpcBrowsePoint browsePoint,
OpcReferenceDescriptionCollection references)Protected Overridable Function Browse(
context As OpcContext,
browsePoint As OpcBrowsePoint,
references As OpcReferenceDescriptionCollection) As OpcBrowsePointParameters
| Name | Type | Description |
|---|---|---|
context | OpcContext | The OpcContext of the browse operation. |
browsePoint | OpcBrowsePoint | The OpcBrowsePoint which describes the node and the references to browse and the position to continue at. |
references | Opc | The Opc |
Returns
An OpcBrowsePoint to continue browsing at if not all references could be provided; otherwise a null reference (Nothing in Visual Basic).
CreateHistory
Creates the history entries of the values specified for the node specified.
protected virtual OpcStatusCollection CreateHistory(
IOpcNode node,
OpcHistoryModificationInfo modificationInfo,
OpcValueCollection values)Protected Overridable Function CreateHistory(
node As IOpcNode,
modificationInfo As OpcHistoryModificationInfo,
values As OpcValueCollection) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
node | IOpcNode | The IOpcNode whose history is changed. |
modificationInfo | Opc | The Opc |
values | Opc | The Opc |
Returns
An OpcStatusCollection with the result per value. If RetrieveNodeHistoryProvider provides no provider, each result has the code BadHistoryOperationUnsupported.
CreateNodes
When overridden in a derived class, creates the nodes of the address space part maintained by the node manager.
protected virtual IEnumerable<IOpcNode> CreateNodes(
OpcNodeReferenceCollection references)Protected Overridable Function CreateNodes(
references As OpcNodeReferenceCollection) As IEnumerable(Of IOpcNode)Parameters
| Name | Type | Description |
|---|---|---|
references | Opc | The Opc |
Returns
A sequence of the IOpcNode instances created. The base implementation provides no nodes.
Remarks
The server calls the method when it creates its address space while it is started. An exception thrown by the method is passed on as an OpcException and fails the start of the server.
DeleteHistory
| Overload | Description |
|---|---|
| DeleteHistory( | Deletes the history entries at the times specified of the node specified. |
| DeleteHistory( | Deletes the history entries of the values specified of the node specified. |
| DeleteHistory( | Deletes the history entries of the node specified within the time range specified. |
DeleteHistory(IOpcNode, OpcHistoryModificationInfo, IEnumerable<DateTime>)
Deletes the history entries at the times specified of the node specified.
protected virtual OpcStatusCollection DeleteHistory(
IOpcNode node,
OpcHistoryModificationInfo modificationInfo,
IEnumerable<DateTime> times)Protected Overridable Function DeleteHistory(
node As IOpcNode,
modificationInfo As OpcHistoryModificationInfo,
times As IEnumerable(Of Date)) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
node | IOpcNode | The IOpcNode whose history is changed. |
modificationInfo | Opc | The Opc |
times | IEnumerable<DateTime> | A sequence of the timestamps of the entries to delete. |
Returns
An OpcStatusCollection with the result per timestamp. If RetrieveNodeHistoryProvider provides no provider, each result has the code BadHistoryOperationUnsupported.
DeleteHistory(IOpcNode, OpcHistoryModificationInfo, OpcValueCollection)
Deletes the history entries of the values specified of the node specified.
protected virtual OpcStatusCollection DeleteHistory(
IOpcNode node,
OpcHistoryModificationInfo modificationInfo,
OpcValueCollection values)Protected Overridable Function DeleteHistory(
node As IOpcNode,
modificationInfo As OpcHistoryModificationInfo,
values As OpcValueCollection) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
node | IOpcNode | The IOpcNode whose history is changed. |
modificationInfo | Opc | The Opc |
values | Opc | The Opc |
Returns
An OpcStatusCollection with the result per value. If RetrieveNodeHistoryProvider provides no provider, each result has the code BadHistoryOperationUnsupported.
DeleteHistory(IOpcNode, OpcHistoryModificationInfo, DateTime?, DateTime?, OpcDeleteHistoryOptions)
Deletes the history entries of the node specified within the time range specified.
protected virtual OpcStatusCollection DeleteHistory(
IOpcNode node,
OpcHistoryModificationInfo modificationInfo,
DateTime? startTime,
DateTime? endTime,
OpcDeleteHistoryOptions options)Protected Overridable Function DeleteHistory(
node As IOpcNode,
modificationInfo As OpcHistoryModificationInfo,
startTime As Date?,
endTime As Date?,
options As OpcDeleteHistoryOptions) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
node | IOpcNode | The IOpcNode whose history is changed. |
modificationInfo | Opc | The Opc |
startTime | Nullable<DateTime> | The begin of the time range or a null reference ( |
endTime | Nullable<DateTime> | The end of the time range or a null reference ( |
options | Opc | A combination of the Opc |
Returns
An OpcStatusCollection with the result of the operation. If RetrieveNodeHistoryProvider provides no provider, the collection contains one result with the code BadHistoryOperationUnsupported.
DeleteNodes
When overridden in a derived class, releases the nodes of the node manager.
protected virtual void DeleteNodes()Protected Overridable Sub DeleteNodes()Remarks
The server calls the method when it deletes its address space. The base implementation does nothing.
Dispose
| Overload | Description |
|---|---|
| Dispose() | Releases all resources used by the OpcNodeManager. |
| Dispose( | Releases the unmanaged resources used by the OpcNodeManager and optionally releases the managed resources. |
Dispose()
Releases all resources used by the OpcNodeManager.
public void Dispose()Public Sub Dispose()Implements
Dispose(bool)
Releases the unmanaged resources used by the OpcNodeManager and optionally releases the managed resources.
protected virtual void Dispose(bool disposing)Protected Overridable Sub Dispose(disposing As Boolean)Parameters
| Name | Type | Description |
|---|---|---|
disposing | Boolean | The value true to release both managed and unmanaged resources; otherwise the value false to release only unmanaged resources. |
ExportNodes
| Overload | Description |
|---|---|
| ExportNodes() | Exports the Nodes of the node manager using the Default options. |
| ExportNodes( | Exports the Nodes of the node manager using the options specified. |
Exceptions (all overloads)
| Exception | Condition |
|---|---|
| Invalid | The server using the node manager has not yet been started. |
ExportNodes()
Exports the Nodes of the node manager using the Default options.
public IEnumerable<OpcNodeSet> ExportNodes()Public Function ExportNodes() As IEnumerable(Of OpcNodeSet)Returns
A sequence of OpcNodeSet instances, one per namespace of the node manager which contains nodes.
Remarks
The nodes are exported while the sequence is enumerated; the exception is thrown then as well. Nodes of a namespace which is not maintained by the node manager (see Namespaces) are not exported.
ExportNodes(OpcNodeExportOptions)
Exports the Nodes of the node manager using the options specified.
public IEnumerable<OpcNodeSet> ExportNodes(OpcNodeExportOptions options)Public Function ExportNodes(
options As OpcNodeExportOptions) As IEnumerable(Of OpcNodeSet)Parameters
| Name | Type | Description |
|---|---|---|
options | Opc | The Opc |
Returns
A sequence of OpcNodeSet instances, one per namespace of the node manager which contains nodes.
Remarks
The nodes are exported while the sequence is enumerated; the exception is thrown then as well. Nodes of a namespace which is not maintained by the node manager (see Namespaces) are not exported.
GetNode
| Overload | Description |
|---|---|
| GetNode( | Retrieves the IOpcNode which is maintained by the Nodes of this OpcNodeManager and is known under the nodePath specified. |
| GetNode( | Retrieves the IOpcNode which is maintained by the Nodes of this OpcNodeManager and is known under the nodeId specified. |
GetNode(string)
Retrieves the IOpcNode which is maintained by the Nodes of this OpcNodeManager and is known under the nodePath specified.
public IOpcNode GetNode(string nodePath)Public Function GetNode(nodePath As String) As IOpcNodeParameters
| Name | Type | Description |
|---|---|---|
nodePath | String | A sequence of browse and symbolic names combined using a slash ( |
Returns
An instance implementing the IOpcNode interface its Name or SymbolicName matches the last 'part' in the nodePath specified, if found; otherwise a null reference (Nothing in Visual Basic).
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodePath is an empty string. |
| Argument | The nodePath is a null reference ( |
Remarks
The first 'part' in the nodePath shall refer to a unique browse or symbolic name of a node maintained by the Nodes; otherwise the first node which matches the browse or symbolic name specified is used to continue the node query. Note that this method does not support querying nodes which are organized in an ambiguous way (according to their sub-tree they reside).
GetNode(OpcNodeId)
Retrieves the IOpcNode which is maintained by the Nodes of this OpcNodeManager and is known under the nodeId specified.
public IOpcNode GetNode(OpcNodeId nodeId)Public Function GetNode(nodeId As OpcNodeId) As IOpcNodeParameters
| Name | Type | Description |
|---|---|---|
nodeId | OpcNodeId | The OpcNodeId of the IOpcNode instance to determine. |
Returns
An instance implementing the IOpcNode interface its Id attribute is equals to the nodeId specified if found; otherwise a null reference (Nothing in Visual Basic).
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is a null reference ( |
ImplementNode
When implemented in a derived class, implements the logic required to integrate the node into the underlying system.
protected virtual void ImplementNode(IOpcNode node)Protected Overridable Sub ImplementNode(node As IOpcNode)Parameters
| Name | Type | Description |
|---|---|---|
node | IOpcNode | An instance implementing the IOpcNode interface which is to be integrated into the underlying system. |
Remarks
This method is called during the whole address space creation. This includes the import of nodes using ImportNodes and the creation of nodes using CreateNodes. Each node imported / created is passed to this method to integrate it accordingly into the underlying system.
Additionally this method is called after the startup of the server whenever a client adds another node to the address space part(s) maintained by the current OpcNodeManager.
ImportNodes
When implemented in a derived class, offers the different OpcNodeSets which are imported prior any other nodes are created within the address space part organized by the current OpcNodeManager.
protected virtual IEnumerable<OpcNodeSet> ImportNodes()Protected Overridable Function ImportNodes() As IEnumerable(Of OpcNodeSet)Returns
A sequence of OpcNodeSet instances to use to import external stored node information into the address space.
IsNodeAccessible
Determines whether the node specified is accessible in the context and view specified.
protected virtual bool IsNodeAccessible(
OpcContext context,
OpcNodeId viewId,
IOpcNodeInfo node)Protected Overridable Function IsNodeAccessible(
context As OpcContext,
viewId As OpcNodeId,
node As IOpcNodeInfo) As BooleanParameters
| Name | Type | Description |
|---|---|---|
context | OpcContext | The OpcContext of the operation which accesses the node. |
viewId | OpcNodeId | The OpcNodeId of the view to check or Null if the node is not accessed through a view. |
node | IOpcNodeInfo | The IOpcNodeInfo of the node to check. |
Returns
The value true if the node is accessible; otherwise the value false. The base implementation evaluates IsAccessible and, for a variable node, requires an AccessLevel or UserAccessLevel other than None.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The context, viewId or node is a null reference ( |
Remarks
The server treats a node which is not accessible like a node which does not exist.
IsNodeReadyToPublish
Determines a value indicating whether any applied node changes are awaiting to be published by at least one monitored item.
protected bool IsNodeReadyToPublish(IOpcNode node)Protected Function IsNodeReadyToPublish(node As IOpcNode) As BooleanParameters
| Name | Type | Description |
|---|---|---|
node | IOpcNode | The IOpcNode its publishing state is to be verified. |
Returns
The value true if the node has applied changes which are awaiting to be published; otherwise the value false.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The node is a null reference ( |
OnAfterRead
Raises the AfterRead event of the OpcNodeManager.
protected virtual void OnAfterRead(OpcNodeAccessEventArgs e)Protected Overridable Sub OnAfterRead(e As OpcNodeAccessEventArgs)Parameters
| Name | Type | Description |
|---|---|---|
e | Opc | The event data. |
OnAfterWrite
Raises the AfterWrite event of the OpcNodeManager.
protected virtual void OnAfterWrite(OpcNodeAccessEventArgs e)Protected Overridable Sub OnAfterWrite(e As OpcNodeAccessEventArgs)Parameters
| Name | Type | Description |
|---|---|---|
e | Opc | The event data. |
OnBeforeRead
Raises the BeforeRead event of the OpcNodeManager.
protected virtual void OnBeforeRead(OpcNodeAccessEventArgs e)Protected Overridable Sub OnBeforeRead(e As OpcNodeAccessEventArgs)Parameters
| Name | Type | Description |
|---|---|---|
e | Opc | The event data. |
OnBeforeWrite
Raises the BeforeWrite event of the OpcNodeManager.
protected virtual void OnBeforeWrite(OpcNodeAccessEventArgs e)Protected Overridable Sub OnBeforeWrite(e As OpcNodeAccessEventArgs)Parameters
| Name | Type | Description |
|---|---|---|
e | Opc | The event data. |
OnMonitoredItemCreated
Raises the MonitoredItemCreated event of the OpcNodeManager.
protected virtual void OnMonitoredItemCreated(OpcMonitoredItemEventArgs e)Protected Overridable Sub OnMonitoredItemCreated(e As OpcMonitoredItemEventArgs)Parameters
| Name | Type | Description |
|---|---|---|
e | Opc | The event data. |
OnMonitoredItemDeleted
Raises the MonitoredItemDeleted event of the OpcNodeManager.
protected virtual void OnMonitoredItemDeleted(OpcMonitoredItemEventArgs e)Protected Overridable Sub OnMonitoredItemDeleted(e As OpcMonitoredItemEventArgs)Parameters
| Name | Type | Description |
|---|---|---|
e | Opc | The event data. |
OnMonitoredItemModified
Raises the MonitoredItemModified event of the OpcNodeManager.
protected virtual void OnMonitoredItemModified(OpcMonitoredItemEventArgs e)Protected Overridable Sub OnMonitoredItemModified(
e As OpcMonitoredItemEventArgs)Parameters
| Name | Type | Description |
|---|---|---|
e | Opc | The event data. |
OnMonitoredItemsCreated
Raises the MonitoredItemsCreated event of the OpcNodeManager.
protected virtual void OnMonitoredItemsCreated(OpcMonitoredItemsEventArgs e)Protected Overridable Sub OnMonitoredItemsCreated(
e As OpcMonitoredItemsEventArgs)Parameters
| Name | Type | Description |
|---|---|---|
e | Opc | The event data. |
OnMonitoredItemsDeleted
Raises the MonitoredItemsDeleted event of the OpcNodeManager.
protected virtual void OnMonitoredItemsDeleted(OpcMonitoredItemsEventArgs e)Protected Overridable Sub OnMonitoredItemsDeleted(
e As OpcMonitoredItemsEventArgs)Parameters
| Name | Type | Description |
|---|---|---|
e | Opc | The event data. |
OnMonitoredItemsModified
Raises the MonitoredItemsModified event of the OpcNodeManager.
protected virtual void OnMonitoredItemsModified(OpcMonitoredItemsEventArgs e)Protected Overridable Sub OnMonitoredItemsModified(
e As OpcMonitoredItemsEventArgs)Parameters
| Name | Type | Description |
|---|---|---|
e | Opc | The event data. |
QueryNode
When overridden in a derived class, provides the node with the nodeId specified which is not part of the Nodes.
protected virtual IOpcNode QueryNode(OpcNodeId nodeId)Protected Overridable Function QueryNode(nodeId As OpcNodeId) As IOpcNodeParameters
| Name | Type | Description |
|---|---|---|
nodeId | OpcNodeId | The OpcNodeId of the node to provide. |
Returns
The IOpcNode with the nodeId specified, if known; otherwise a null reference (Nothing in Visual Basic). The base implementation returns a null reference.
Remarks
The method is called by GetNode and when the server looks up a node of the node manager which is not part of the Nodes.
Read
Reads the attribute values requested by the tokens specified on behalf of a client.
protected virtual void Read(
OpcContext context,
OpcNodeAccessTokenCollection tokens)Protected Overridable Sub Read(
context As OpcContext,
tokens As OpcNodeAccessTokenCollection)Parameters
| Name | Type | Description |
|---|---|---|
context | OpcContext | The OpcContext of the read operation. |
tokens | Opc | The Opc |
Remarks
The method raises the BeforeRead event before and the AfterRead event after reading, also if reading fails.
ReadEventHistory
Reads the history of the events of the node specified on behalf of a client.
protected virtual IEnumerable<OpcEvent> ReadEventHistory(
OpcContext context,
IOpcNode node,
OpcEventFilter eventFilter,
DateTime? startTime,
DateTime? endTime,
bool timeFlowsBackward,
uint? maxCount)Protected Overridable Function ReadEventHistory(
context As OpcContext,
node As IOpcNode,
eventFilter As OpcEventFilter,
startTime As Date?,
endTime As Date?,
timeFlowsBackward As Boolean,
maxCount As UInteger?) As IEnumerable(Of OpcEvent)Parameters
| Name | Type | Description |
|---|---|---|
context | OpcContext | The OpcContext of the read operation. |
node | IOpcNode | The IOpcNode whose event history is read. |
eventFilter | OpcEventFilter | The OpcEventFilter which specifies the fields of the events to provide. |
startTime | Nullable<DateTime> | The begin of the time range to read or a null reference ( |
endTime | Nullable<DateTime> | The end of the time range to read or a null reference ( |
time | Boolean | The value true to provide the events in descending order of their timestamps; otherwise the value false. |
maxCount | Nullable<UInt32> | The maximum number of events to provide or a null reference ( |
Returns
A sequence of the OpcEvent instances read or a null reference (Nothing in Visual Basic) if RetrieveEventHistoryProvider provides no provider; in this case the client receives the code BadNotSupported for the node.
ReadHistory
Reads the history of the values of the node specified on behalf of a client.
protected virtual IEnumerable<OpcHistoryValue> ReadHistory(
OpcContext context,
IOpcNode node,
DateTime? startTime,
DateTime? endTime,
bool timeFlowsBackward,
uint? maxCount,
OpcReadHistoryOptions options)Protected Overridable Function ReadHistory(
context As OpcContext,
node As IOpcNode,
startTime As Date?,
endTime As Date?,
timeFlowsBackward As Boolean,
maxCount As UInteger?,
options As OpcReadHistoryOptions) As IEnumerable(Of OpcHistoryValue)Parameters
| Name | Type | Description |
|---|---|---|
context | OpcContext | The OpcContext of the read operation. |
node | IOpcNode | The IOpcNode whose history is read. |
startTime | Nullable<DateTime> | The begin of the time range to read or a null reference ( |
endTime | Nullable<DateTime> | The end of the time range to read or a null reference ( |
time | Boolean | The value true to provide the values in descending order of their timestamps; otherwise the value false. |
maxCount | Nullable<UInt32> | The maximum number of values to provide or a null reference ( |
options | Opc | A combination of the Opc |
Returns
A sequence of the OpcHistoryValue instances read or a null reference (Nothing in Visual Basic) if RetrieveNodeHistoryProvider provides no provider; in this case the client receives the code BadNotSupported for the node.
RemoveNode
| Overload | Description |
|---|---|
| RemoveNode( | Removes the node specified from the address space of the node manager. |
| RemoveNode( | Removes the node specified from the address space of the node manager using the context specified. |
| RemoveNode( | Removes the node specified from the address space of the node manager and collects the references to remove from further node managers. |
| RemoveNode( | Removes the node specified from the address space of the node manager using the context specified and collects the references to remove from further node managers. |
Exceptions (all overloads)
| Exception | Condition |
|---|---|
| Invalid | The server using the node manager has not yet been started. |
RemoveNode(IOpcNode)
Removes the node specified from the address space of the node manager.
public void RemoveNode(IOpcNode node)Public Sub RemoveNode(node As IOpcNode)Parameters
| Name | Type | Description |
|---|---|---|
node | IOpcNode | The IOpcNode to remove. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The node is a null reference ( |
Remarks
The references between the node and the nodes of other node managers are removed as well.
RemoveNode(OpcContext, IOpcNode)
Removes the node specified from the address space of the node manager using the context specified.
public void RemoveNode(OpcContext context, IOpcNode node)Public Sub RemoveNode(context As OpcContext, node As IOpcNode)Parameters
| Name | Type | Description |
|---|---|---|
context | OpcContext | The OpcContext to use to remove the node. |
node | IOpcNode | The IOpcNode to remove. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The context or node is a null reference ( |
Remarks
The references between the node and the nodes of other node managers are removed as well.
RemoveNode(IOpcNode, OpcLocalReferenceCollection)
Removes the node specified from the address space of the node manager and collects the references to remove from further node managers.
protected void RemoveNode(IOpcNode node, OpcLocalReferenceCollection references)Protected Sub RemoveNode(
node As IOpcNode,
references As OpcLocalReferenceCollection)Parameters
| Name | Type | Description |
|---|---|---|
node | IOpcNode | The IOpcNode to remove. |
references | Opc | The Opc |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The node is a null reference ( |
Remarks
Unlike RemoveNode the method does not remove the collected references from the other node managers.
RemoveNode(OpcContext, IOpcNode, OpcLocalReferenceCollection)
Removes the node specified from the address space of the node manager using the context specified and collects the references to remove from further node managers.
protected virtual void RemoveNode(
OpcContext context,
IOpcNode node,
OpcLocalReferenceCollection references)Protected Overridable Sub RemoveNode(
context As OpcContext,
node As IOpcNode,
references As OpcLocalReferenceCollection)Parameters
| Name | Type | Description |
|---|---|---|
context | OpcContext | The OpcContext to use to remove the node. |
node | IOpcNode | The IOpcNode to remove. |
references | Opc | The Opc |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The context or node is a null reference ( |
Remarks
The server calls the method also when it removes a node of the node manager. The method does not remove the collected references from the other node managers.
RemoveNotifierNode
Removes the node from the collection of 'root' notifiers (= event sources) of the 'Server' node.
protected void RemoveNotifierNode(IOpcNode node)Protected Sub RemoveNotifierNode(node As IOpcNode)Parameters
| Name | Type | Description |
|---|---|---|
node | IOpcNode | The IOpcNode instance acting as the notifier of the 'Server' node. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The node is a null reference ( |
| Invalid | The master node has not yet been created, therefore the operation is at the moment not available. |
ReplaceHistory
Replaces the history entries of the values specified of the node specified.
protected virtual OpcStatusCollection ReplaceHistory(
IOpcNode node,
OpcHistoryModificationInfo modificationInfo,
OpcValueCollection values)Protected Overridable Function ReplaceHistory(
node As IOpcNode,
modificationInfo As OpcHistoryModificationInfo,
values As OpcValueCollection) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
node | IOpcNode | The IOpcNode whose history is changed. |
modificationInfo | Opc | The Opc |
values | Opc | The Opc |
Returns
An OpcStatusCollection with the result per value. If RetrieveNodeHistoryProvider provides no provider, each result has the code BadHistoryOperationUnsupported.
ReplaceNode
Replaces an existing IOpcNode instance with the specified node without invalidating existing monitored items nor previously defined notifiers.
protected void ReplaceNode(IOpcNode node)Protected Sub ReplaceNode(node As IOpcNode)Parameters
| Name | Type | Description |
|---|---|---|
node | IOpcNode | The IOpcNode instance its Id is used to determine existing monitored items, notifiers and nodes to replace with the new one. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The node is a null reference ( |
| Invalid | The master node has not yet been created, therefore the operation is at the moment not available. |
Remarks
To replace an existing node the OpcNodeId of the node specified needs to match the Id of an existing IOpcNode instance.
This method replaces an existing node and all of its children recursively in the Nodes of this OpcNodeManager and in the list of notifiers as well in the list of monitored items / nodes.
The caller of this method have to ensure that the node specified is as compatible to the previous node as the clients of the server expect. This includes for example the attributes or other metrics of a dedicated type of node to which a client may belong.
ReportEvent
| Overload | Description |
|---|---|
| ReportEvent( | Produces a global event using the eventNode specified. |
| ReportEvent( | Produces a global event using the event data specified. |
| ReportEvent( | Produces a global event using the event data specified. |
| ReportEvent( | Produces a global event using the event data specified. |
| ReportEvent( | Produces a global event using the event data specified. |
| ReportEvent( | Produces a global event using the event data specified. |
| ReportEvent( | Produces a global event using the event data specified. |
Exceptions (all overloads)
| Exception | Condition |
|---|---|
| Invalid | The master node has not yet been created, therefore the operation is at the moment not available. |
| OpcException | The operation failed ( |
ReportEvent(OpcEventNode)
Produces a global event using the eventNode specified.
public void ReportEvent(OpcEventNode eventNode)Public Sub ReportEvent(eventNode As OpcEventNode)Parameters
| Name | Type | Description |
|---|---|---|
eventNode | OpcEventNode | The OpcEventNode its event information is to be reported as a global event. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The eventNode is a null reference ( |
ReportEvent(OpcEventSeverity, OpcText)
Produces a global event using the event data specified.
public void ReportEvent(OpcEventSeverity severity, OpcText message)Public Sub ReportEvent(severity As OpcEventSeverity, message As OpcText)Parameters
| Name | Type | Description |
|---|---|---|
severity | OpcEventSeverity | An indication of the urgency of the event. |
message | OpcText | A human-readable and localizable text description of the event. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The message is a null reference ( |
ReportEvent(OpcEventSeverity, OpcText, params object[])
Produces a global event using the event data specified.
public void ReportEvent(
OpcEventSeverity severity,
OpcText message,
params object[] arguments)Public Sub ReportEvent(
severity As OpcEventSeverity,
message As OpcText,
ParamArray arguments As Object())Parameters
| Name | Type | Description |
|---|---|---|
severity | OpcEventSeverity | An indication of the urgency of the event. |
message | OpcText | A human-readable and localizable text description of the event with format placeholders which where replaced with the arguments specified. |
arguments | params Object[] | The values to place into the message using its format placeholders. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The message is a null reference ( |
ReportEvent(OpcNodeId, string, OpcEventSeverity, OpcText)
Produces a global event using the event data specified.
public void ReportEvent(
OpcNodeId sourceNodeId,
string sourceName,
OpcEventSeverity severity,
OpcText message)Public Sub ReportEvent(
sourceNodeId As OpcNodeId,
sourceName As String,
severity As OpcEventSeverity,
message As OpcText)Parameters
| Name | Type | Description |
|---|---|---|
sourceNodeId | OpcNodeId | The OpcNodeId which is to be used for the SourceNodeId property to define the origin of the event produced. |
sourceName | String | The string which is to be used for the SourceName. |
severity | OpcEventSeverity | An indication of the urgency of the event. |
message | OpcText | A human-readable and localizable text description of the event. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The message is a null reference ( |
ReportEvent(OpcNodeId, string, OpcEventSeverity, OpcText, params object[])
Produces a global event using the event data specified.
public void ReportEvent(
OpcNodeId sourceNodeId,
string sourceName,
OpcEventSeverity severity,
OpcText message,
params object[] arguments)Public Sub ReportEvent(
sourceNodeId As OpcNodeId,
sourceName As String,
severity As OpcEventSeverity,
message As OpcText,
ParamArray arguments As Object())Parameters
| Name | Type | Description |
|---|---|---|
sourceNodeId | OpcNodeId | The OpcNodeId which is to be used for the SourceNodeId property to define the origin of the event produced. |
sourceName | String | The string which is to be used for the SourceName. |
severity | OpcEventSeverity | An indication of the urgency of the event. |
message | OpcText | A human-readable and localizable text description of the event with format placeholders which where replaced with the arguments specified. |
arguments | params Object[] | The values to place into the message using its format placeholders. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The message is a null reference ( |
ReportEvent(IOpcNode, OpcEventSeverity, OpcText)
Produces a global event using the event data specified.
public void ReportEvent(
IOpcNode source,
OpcEventSeverity severity,
OpcText message)Public Sub ReportEvent(
source As IOpcNode,
severity As OpcEventSeverity,
message As OpcText)Parameters
| Name | Type | Description |
|---|---|---|
source | IOpcNode | The IOpcNode instance its Id is used for the SourceNodeId property and its SymbolicName is used for the SourceName property to define the origin of the event produced. |
severity | OpcEventSeverity | An indication of the urgency of the event. |
message | OpcText | A human-readable and localizable text description of the event. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The source or message is a null reference ( |
ReportEvent(IOpcNode, OpcEventSeverity, OpcText, params object[])
Produces a global event using the event data specified.
public void ReportEvent(
IOpcNode source,
OpcEventSeverity severity,
OpcText message,
params object[] arguments)Public Sub ReportEvent(
source As IOpcNode,
severity As OpcEventSeverity,
message As OpcText,
ParamArray arguments As Object())Parameters
| Name | Type | Description |
|---|---|---|
source | IOpcNode | The IOpcNode instance its Id is used for the SourceNodeId property and its SymbolicName is used for the SourceName property to define the origin of the event produced. |
severity | OpcEventSeverity | An indication of the urgency of the event. |
message | OpcText | A human-readable and localizable text description of the event with format placeholders which where replaced with the arguments specified. |
arguments | params Object[] | The values to place into the message using its format placeholders. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The source or message is a null reference ( |
RetrieveEventHistoryProvider
Retrieves the provider which provides the history of the events of the node specified.
protected virtual IOpcEventHistoryProvider RetrieveEventHistoryProvider(
IOpcNode node)Protected Overridable Function RetrieveEventHistoryProvider(
node As IOpcNode) As IOpcEventHistoryProviderParameters
| Name | Type | Description |
|---|---|---|
node | IOpcNode | The IOpcNode whose event history is accessed. |
Returns
The IOpcEventHistoryProvider to use or a null reference (Nothing in Visual Basic) if the event history of the node is not available. The base implementation returns the node if it implements IOpcEventHistoryProvider.
RetrieveNodeHistoryProvider
Retrieves the provider which provides the history of the values of the node specified.
protected virtual IOpcNodeHistoryProvider RetrieveNodeHistoryProvider(
IOpcNode node)Protected Overridable Function RetrieveNodeHistoryProvider(
node As IOpcNode) As IOpcNodeHistoryProviderParameters
| Name | Type | Description |
|---|---|---|
node | IOpcNode | The IOpcNode whose history is accessed. |
Returns
The IOpcNodeHistoryProvider to use or a null reference (Nothing in Visual Basic) if the history of the node is not available. The base implementation returns the node if it implements IOpcNodeHistoryProvider.
UpdateHistory
Updates the history entries of the values specified of the node specified.
protected virtual OpcStatusCollection UpdateHistory(
IOpcNode node,
OpcHistoryModificationInfo modificationInfo,
OpcValueCollection values)Protected Overridable Function UpdateHistory(
node As IOpcNode,
modificationInfo As OpcHistoryModificationInfo,
values As OpcValueCollection) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
node | IOpcNode | The IOpcNode whose history is changed. |
modificationInfo | Opc | The Opc |
values | Opc | The Opc |
Returns
An OpcStatusCollection with the result per value. If RetrieveNodeHistoryProvider provides no provider, each result has the code BadHistoryOperationUnsupported.
Write
Writes the attribute values provided by the tokens specified on behalf of a client.
protected virtual void Write(
OpcContext context,
OpcNodeAccessTokenCollection tokens)Protected Overridable Sub Write(
context As OpcContext,
tokens As OpcNodeAccessTokenCollection)Parameters
| Name | Type | Description |
|---|---|---|
context | OpcContext | The OpcContext of the write operation. |
tokens | Opc | The Opc |
Remarks
The method raises the BeforeWrite event before and the AfterWrite event after writing, also if writing fails.
Events
AfterRead
Occurs after the node manager has read attribute values of its nodes on behalf of a client (see Read), also if reading has failed.
public event OpcNodeAccessEventHandler AfterReadPublic Event AfterRead As OpcNodeAccessEventHandlerEvent type
AfterWrite
Occurs after the node manager has written attribute values of its nodes on behalf of a client (see Write), also if writing has failed.
public event OpcNodeAccessEventHandler AfterWritePublic Event AfterWrite As OpcNodeAccessEventHandlerEvent type
BeforeRead
Occurs before the node manager reads attribute values of its nodes on behalf of a client (see Read).
public event OpcNodeAccessEventHandler BeforeReadPublic Event BeforeRead As OpcNodeAccessEventHandlerEvent type
BeforeWrite
Occurs before the node manager writes attribute values of its nodes on behalf of a client (see Write).
public event OpcNodeAccessEventHandler BeforeWritePublic Event BeforeWrite As OpcNodeAccessEventHandlerEvent type
MonitoredItemCreated
Occurs when a new monitored item is created through a OpcSession.
public event OpcMonitoredItemEventHandler MonitoredItemCreatedPublic Event MonitoredItemCreated As OpcMonitoredItemEventHandlerEvent type
MonitoredItemDeleted
Occurs when an existing monitored item of a OpcSession has been deleted.
public event OpcMonitoredItemEventHandler MonitoredItemDeletedPublic Event MonitoredItemDeleted As OpcMonitoredItemEventHandlerEvent type
MonitoredItemModified
Occurs when an existing monitored item of a OpcSession has been modified.
public event OpcMonitoredItemEventHandler MonitoredItemModifiedPublic Event MonitoredItemModified As OpcMonitoredItemEventHandlerEvent type
MonitoredItemsCreated
Occurs when a set of new monitored items is created through a OpcSession.
public event OpcMonitoredItemsEventHandler MonitoredItemsCreatedPublic Event MonitoredItemsCreated As OpcMonitoredItemsEventHandlerEvent type
MonitoredItemsDeleted
Occurs when a set of existing monitored items of a OpcSession has been deleted.
public event OpcMonitoredItemsEventHandler MonitoredItemsDeletedPublic Event MonitoredItemsDeleted As OpcMonitoredItemsEventHandlerEvent type
MonitoredItemsModified
Occurs when a set of existing monitored items of a OpcSession has been modified.
public event OpcMonitoredItemsEventHandler MonitoredItemsModifiedPublic Event MonitoredItemsModified As OpcMonitoredItemsEventHandlerEvent type

