Opc.Ua.Server.CustomNodeManager2.HistoryDeleteRawModified C# (CSharp) Method

HistoryDeleteRawModified() protected method

Deletes the data history for one or more nodes.
protected HistoryDeleteRawModified ( ServerSystemContext context, IList nodesToUpdate, IList results, IList errors, List nodesToProcess, NodeState>.IDictionary cache ) : void
context ServerSystemContext
nodesToUpdate IList
results IList
errors IList
nodesToProcess List
cache NodeState>.IDictionary
return void
        protected virtual void HistoryDeleteRawModified(
            ServerSystemContext context,
            IList<DeleteRawModifiedDetails> nodesToUpdate,
            IList<HistoryUpdateResult> results,
            IList<ServiceResult> errors,
            List<NodeHandle> nodesToProcess,
            IDictionary<NodeId, NodeState> cache)
        {
            for (int ii = 0; ii < nodesToProcess.Count; ii++)
            {
                NodeHandle handle = nodesToProcess[ii];

                // validate node.
                NodeState source = ValidateNode(context, handle, cache);

                if (source == null)
                {
                    continue;
                }

                errors[handle.Index] = StatusCodes.BadHistoryOperationUnsupported;
            }
        }
CustomNodeManager2