Show / Hide Table of Contents

Class TransactionWaitCanceledException

The caller cancelled while waiting for a transaction that may already be on the network.

Inheritance
object
Exception
SystemException
OperationCanceledException
TransactionWaitCanceledException
Namespace: Xrpl.Client.Exceptions
Assembly: Xrpl.dll
Syntax
public class TransactionWaitCanceledException : OperationCanceledException
Remarks

An System.OperationCanceledException, so a catch of it and a check of System.OperationCanceledException.CancellationToken work as for any cancellation. What it adds is what resuming takes: call WaitForTransactionOutcome with Hash, LastLedgerSequence and MinLedger.

Constructors

| Edit this page View Source

TransactionWaitCanceledException(string, string, uint, uint, string, Exception, CancellationToken)

Declaration
public TransactionWaitCanceledException(string message, string hash, uint lastLedgerSequence, uint minLedger, string preliminaryResult, Exception innerException, CancellationToken cancellationToken)
Parameters
Type Name Description
string message

What was cancelled.

string hash

The transaction's hash.

uint lastLedgerSequence

The transaction's LastLedgerSequence.

uint minLedger

The first ledger the transaction could be in.

string preliminaryResult

The provisional answer to the submission, if any.

Exception innerException

The cancellation as it was raised.

CancellationToken cancellationToken

The caller's token that was cancelled.

Properties

| Edit this page View Source

Hash

The transaction's hash.

Declaration
public string Hash { get; }
Property Value
Type Description
string
| Edit this page View Source

LastLedgerSequence

The transaction's LastLedgerSequence.

Declaration
public uint LastLedgerSequence { get; }
Property Value
Type Description
uint
| Edit this page View Source

MinLedger

The first ledger the transaction could be in: the one validated before it was submitted.

Declaration
public uint MinLedger { get; }
Property Value
Type Description
uint
| Edit this page View Source

PreliminaryResult

The node's provisional answer to the submission, when one arrived.

Declaration
public string PreliminaryResult { get; }
Property Value
Type Description
string

Extension Methods

XrplErrorClassifier.Classify(Exception)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX