Table of Contents

Interface IStorageTransaction

Namespace
Silverback.Storage
Assembly
Silverback.Integration.dll

Represents a transaction to be used for storage operations.

public interface IStorageTransaction : IDisposable, IAsyncDisposable
Inherited Members

Properties

UnderlyingTransaction

Gets the underlying transaction object.

object UnderlyingTransaction { get; }

Property Value

object

Methods

Commit()

Commits the transaction.

void Commit()

CommitAsync()

Commits the transaction.

Task CommitAsync()

Returns

Task

A Task representing the asynchronous operation.

Rollback()

Aborts the transaction.

void Rollback()

RollbackAsync()

Aborts the transaction.

Task RollbackAsync()

Returns

Task

A Task representing the asynchronous operation.