TaskUtilities..::..DelaySafe Method

Overload List


  Name Description
Public method Static member DelaySafe(TimeSpan, CancellationToken)
Creates a cancellable task that completes after a specified time interval. This will not throw an exception if the cancellationToken is triggered or disposed.
Public method Static member DelaySafe(Int32, CancellationToken)
Creates a cancellable task that completes after a specified number of milliseconds. This will not throw an exception if the cancellationToken is triggered or disposed.