Schedules a cancel operation on this CancellationTokenSource after the specified number of milliseconds.
public:
void CancelAfter(int millisecondsDelay);
public void CancelAfter(int millisecondsDelay);
member this.CancelAfter : int -> unit
Public Sub CancelAfter (millisecondsDelay As Integer)
Parameters
The time span to wait before canceling this CancellationTokenSource.
Exceptions ObjectDisposedExceptionThe exception thrown when this CancellationTokenSource has been disposed.
ArgumentOutOfRangeExceptionThe exception thrown when millisecondsDelay
is less than -1.
The countdown for the millisecondsDelay
starts during this call. When the millisecondsDelay
expires, this CancellationTokenSource is canceled, if it has not been canceled already.
Subsequent calls to CancelAfter will reset the millisecondsDelay
for this CancellationTokenSource, if it has not been canceled already.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4