DelayProvider.DelayAsync(Int32, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public virtual System.Threading.Tasks.Task DelayAsync (int milliseconds, System.Threading.CancellationToken cancellationToken);
abstract member DelayAsync : int * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DelayAsync : int * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function DelayAsync (milliseconds As Integer, cancellationToken As CancellationToken) As Task
Parameters
- milliseconds
- Int32
- cancellationToken
- CancellationToken