Opc.Ua.Client.MonitoredItem.DequeueEvents C# (CSharp) Method

DequeueEvents() public method

Read all events in the cache queue.
public DequeueEvents ( ) : IList
return IList
        public IList<EventFieldList> DequeueEvents()
        {
            lock (m_cache)
            {
                if (m_eventCache != null)
                {
                    return m_eventCache.Publish();
                }

                return new List<EventFieldList>();
            }
        }