Opc.Ua.Server.CoreNodeManager.ConditionRefresh C# (CSharp) Method

ConditionRefresh() public method

public ConditionRefresh ( OperationContext context, IList monitoredItems ) : ServiceResult
context OperationContext
monitoredItems IList
return ServiceResult
        public ServiceResult ConditionRefresh(        
            OperationContext           context,
            IList<IEventMonitoredItem> monitoredItems)
        {            
            if (context == null)  throw new ArgumentNullException("context");
            
            #if LEGACY_CORENODEMANAGER
            try
            {
                m_lock.Enter();

                foreach (IEventSource eventSource in m_eventSources.Values)
                {
                    eventSource.ConditionRefresh(context, monitoredItems);
                }

                return ServiceResult.Good;
            }
            finally
            {
                m_lock.Exit();
            } 
            #else
            return ServiceResult.Good;
            #endif 
        }