You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/libraries/System.Private.CoreLib/src/System/Threading/PeriodicTimer.cs
+42-4Lines changed: 42 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -22,19 +22,57 @@ public sealed class PeriodicTimer : IDisposable
22
22
privatereadonlyState_state;
23
23
24
24
/// <summary>Initializes the timer.</summary>
25
-
/// <param name="period">The time interval between invocations of callback..</param>
25
+
/// <param name="period">The period between ticks</param>
26
26
/// <exception cref="ArgumentOutOfRangeException"><paramref name="period"/> must represent a number of milliseconds equal to or larger than 1, and smaller than <see cref="uint.MaxValue"/>.</exception>
/// <summary>Gets or sets the period between ticks.</summary>
40
+
/// <exception cref="ArgumentOutOfRangeException"><paramref name="value"/> must represent a number of milliseconds equal to or larger than 1, and smaller than <see cref="uint.MaxValue"/>.</exception>
41
+
/// <remarks>
42
+
/// All prior ticks of the timer, including any that may be waiting to be consumed by <see cref="WaitForNextTickAsync"/>,
43
+
/// are unaffected by changes to <see cref="Period"/>. Setting <see cref="Period"/> affects only and all subsequent times
0 commit comments