TimerWheel Constructor (Int32, TimeSpan)
Initializes a new instance of the TimerWheel class.
Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Sub New ( _
sectorCount As Integer, _
sectorSpan As TimeSpan _
)
'Usage
Dim sectorCount As Integer
Dim sectorSpan As TimeSpan
Dim instance As New TimerWheel(sectorCount, _
sectorSpan)
public TimerWheel(
int sectorCount,
TimeSpan sectorSpan
)
Parameters
- sectorCount
Type: System.Int32
The number of sectors in the timer wheel.
- sectorSpan
Type: System.TimeSpan
The span for each sector in seconds.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | Thrown when the sector count or sector span arguments are out of range or unable to support maximum possible timer item. |