Class TransactionWaitCanceledException
The caller cancelled while waiting for a transaction that may already be on the network.
Inheritance
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 SourceTransactionWaitCanceledException(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 |
| 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 SourceHash
The transaction's hash.
Declaration
public string Hash { get; }
Property Value
| Type | Description |
|---|---|
| string |
LastLedgerSequence
The transaction's LastLedgerSequence.
Declaration
public uint LastLedgerSequence { get; }
Property Value
| Type | Description |
|---|---|
| uint |
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 |
PreliminaryResult
The node's provisional answer to the submission, when one arrived.
Declaration
public string PreliminaryResult { get; }
Property Value
| Type | Description |
|---|---|
| string |