MaxCount Property (EventPipe object)

                    

 

Read/Write integer property used to control memory usage of the pipe. If MaxCount would be exceeded when adding an event to an EventPipe, events are left on the server.  Eventually if the situation persists, events will be tossed by the server and an OnOverflow event will be raised by the EventPipe when it discovers this condition.  The PI-SDK will not discover this has occurred until events are removed from the EventPipe so that the Count drops below the MaxCount and new events can be retrieved. 

 

Syntax

object.MaxCount

The object placeholder is an object expression that evaluates to a EventPipe object.

 

Remarks

 

The default MaxCount is 10,000 events.  Events in an EventPipe are retrieved by the PI-SDK in a background thread so the calling program only needs to interact with the EventPipe itself. 

Enabling Operational Intelligence