Edit

Share via


TimerWheel Constructors

Definition

Overloads

TimerWheel()

Initializes a new instance of the TimerWheel class with the default number of sectors (512) and sector span (1 second).

TimerWheel(Int32, TimeSpan)

Initializes a new instance of the TimerWheel class.

TimerWheel()

Initializes a new instance of the TimerWheel class with the default number of sectors (512) and sector span (1 second).

public:
 TimerWheel();
public TimerWheel ();
Public Sub New ()

Applies to

TimerWheel(Int32, TimeSpan)

Initializes a new instance of the TimerWheel class.

public:
 TimerWheel(int sectorCount, TimeSpan sectorSpan);
public TimerWheel (int sectorCount, TimeSpan sectorSpan);
new Microsoft.Rtc.Signaling.TimerWheel : int * TimeSpan -> Microsoft.Rtc.Signaling.TimerWheel
Public Sub New (sectorCount As Integer, sectorSpan As TimeSpan)

Parameters

sectorCount
Int32

The number of sectors in the timer wheel.

sectorSpan
TimeSpan

The span for each sector in seconds.

Exceptions

Thrown when the sector count or sector span arguments are out of range or unable to support maximum possible timer item.

Applies to