Class TradeEvent<T>.TransferFailed
Peer-to-peer transfer rejected or failed.
public sealed record TradeEvent<T>.TransferFailed : TradeEvent<T>, ITradeEvent<RichTradeAction, T>, IEvent<T>, IEquatable<IEvent<T>>, IEquatable<TradeEvent<T>>, IEquatable<TradeEvent<T>.TransferFailed>
- Inheritance
-
TradeEvent<T>TradeEvent<T>.TransferFailed
- Implements
-
IEvent<T>IEquatable<IEvent<T>>IEquatable<TradeEvent<T>>
- Inherited Members
Constructors
TransferFailed(RichTradeAction, Guid, T, string)
Construct a TransferFailed event.
public TransferFailed(RichTradeAction action, Guid transferId, T failedAt, string reason)
Parameters
actionRichTradeActiontransferIdGuidfailedAtTreasonstring
Properties
Action
The action that produced this event (carried for correlation and audit).
public override RichTradeAction Action { get; }
Property Value
FailedAt
Time the failure was observed.
public T FailedAt { get; }
Property Value
- T
Reason
Reason for failure.
public string Reason { get; }
Property Value
Time
The time at which this event's fact occurred.
public override T Time { get; }
Property Value
- T
TransferId
Id of the transfer.
public Guid TransferId { get; }