Parameters
- maximumCount
- Maximum number of event notifications returned.
Valid values of this parameter are in the range from
1
to2147483647 (Int32.MaxValue)
. - millisecondsTimeout
- The number of milliseconds to wait, or System.Threading.Timeout.Infinite (-1) to wait indefinitely.
Return Value
null
if no event is available within the specified time.
This method can return null
(Nothing
in Visual Basic).
The individual elements of the returned value are never null
(Nothing
in Visual Basic).