Show / Hide Table of Contents

Interface ITransactionalConsumer

Represents a consumer that supports transactional commands (Commit/Rollback).

Namespace: CodersRealm.NmsAmqpClient
Assembly: CodersRealm.NmsAmqpClient.dll
Syntax
public interface ITransactionalConsumer

Methods

CommitAsync()

Commit the current transaction on the consumer's session.

Declaration
Task CommitAsync()
Returns
Type Description
Task
Exceptions
Type Condition
InvalidOperationException

Thrown when the commit fails.

RollbackAsync()

Rollback the current transaction on the consumer's session.

Declaration
Task RollbackAsync()
Returns
Type Description
Task
Exceptions
Type Condition
InvalidOperationException

Thrown when the rollback fails.

In this article
Back to top Generated by DocFX