Initializes a new instance of the TimerWheel class.

Namespace:  Microsoft.Rtc.Signaling
Assembly:  Microsoft.Rtc.Collaboration(in Microsoft.Rtc.Collaboration.dll)

Syntax

Visual Basic (Declaration)
Public 
Sub 
New ( _
	
sectorCount 
As 
Integer, _
	
sectorSpan 
As 
TimeSpan _
)
C#
public 
TimerWheel(
	
int 
sectorCount,
	
TimeSpan 
sectorSpan
)
Visual C++
public:
TimerWheel(
	
int 
sectorCount, 
	
TimeSpan 
sectorSpan
)
JavaScript
Microsoft.Rtc.Signaling.TimerWheel
= 
function(
sectorCount, 
sectorSpan);

Parameters

sectorCount
Type: Int32
The number of sectors in the timer wheel.
sectorSpan
Type: 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.

See Also