Method Remove
Remove(object)
Removes a previously scheduled timeout.
bool Remove(object token)
Parameters
token
object
Returns
- bool
true if the timeout is successfully removed; otherwise, false. This method also returns false if the timeout is not found.
Remarks
The token parameter is the value returned by Add(TimeSpan, Func<bool>) or Add(Timeout).