ActionContext.ApplyChangesAsync(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.
Applies any queued up changes.
public System.Threading.Tasks.Task<bool> ApplyChangesAsync (System.Threading.CancellationToken cancellationToken = default);
member this.ApplyChangesAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Function ApplyChangesAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Boolean)
Parameters
- cancellationToken
- CancellationToken
Cancellation token.
Returns
True if there were any changes to apply.
Remarks
Applying a set of changes can result in additional changes being queued. The method will loop and apply any additional plan changes until there are no more changes left to apply.