Show / Hide Table of Contents

Class TransactionException

Represents an error with a transaction that passed the gateway node pre-check and was processed by the network but did not succeed.

Inheritance
Object
Exception
TransactionException
Implements
ISerializable
Inherited Members
Exception.GetBaseException()
Exception.GetObjectData(SerializationInfo, StreamingContext)
Exception.GetType()
Exception.ToString()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.Source
Exception.StackTrace
Exception.TargetSite
Exception.SerializeObjectState
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Namespace: Hashgraph
Assembly: Hashgraph.dll
Syntax
public sealed class TransactionException : Exception, ISerializable

Constructors

| Improve this Doc View Source

TransactionException(String, TxId, ResponseCode)

Public Constructor.

Declaration
public TransactionException(string message, TxId transaction, ResponseCode code)
Parameters
Type Name Description
String message

The message generated by the library describing the condition that raised the exception.

TxId transaction

The Transaction ID of the request that failed.

ResponseCode code

The final ResponseCode returned by the network prior to transaction request expiration.

Properties

| Improve this Doc View Source

Status

The ResponseCode returned by the network. prior to transaction request expiration.

Declaration
public ResponseCode Status { get; }
Property Value
Type Description
ResponseCode
| Improve this Doc View Source

TxId

The Transaction ID generated by the library (or client code) identifying the request.

Declaration
public TxId TxId { get; }
Property Value
Type Description
TxId

Implements

System.Runtime.Serialization.ISerializable
  • Improve this Doc
  • View Source
In This Article
Back to top .NET Client Library for Hedera Hashgraph