FulcrumFS FulcrumFS
FulcrumFS FulcrumFS
DocFX + Singulink = ♥

Search Results for

    Method RollbackAsync

    RollbackAsync(CancellationToken)

    Rolls back the transaction, discarding the files it added and abandoning the deletions it made.

    Declaration
    Task RollbackAsync(CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    CancellationToken cancellationToken

    A cancellation token that cancels the operation.

    Returns
    Type Description
    Task
    Remarks

    A failure to roll back an individual file is not thrown: the file stays accessible in an indeterminate state for the next cleanup pass to resolve, and the failure is reported through TransactionCompletionFailed. Disposing the transaction without committing it rolls it back as well.

    © Singulink. All rights reserved.