Skip to main content

IAsyncCommand.CancelAfter(TimeSpan) Method

In This Article

Creates a request to cancel the command execution after the specified time span.

Namespace: DevExpress.Mvvm

Assembly: DevExpress.WinUI.Mvvm.v23.2.dll

NuGet Package: DevExpress.WinUI

#Declaration

void CancelAfter(
    TimeSpan delay
)

#Parameters

Name Type Description
delay TimeSpan

The time span to wait before canceling this CancellationTokenSource.

See Also