Parameters
- maximumCount
- Maximum number of event notifications returned.
- millisecondsTimeout
- The number of milliseconds to wait, or System.Threading.Timeout.Infinite (-1) to wait indefinitely.
Return Value
An array of event arguments, or
null
if no event is available within the specified time.