Class TransactionFailedEvent
Use this class to record transactionFailed events.
For more information about the transactionFailed event, see the documentation page: https://docs.unity.com/ugs/en-us/manual/analytics/manual/record-transaction-events
Inherited Members
Namespace: Unity.Services.Analytics
Assembly: Unity.Services.Analytics.dll
Syntax
public class TransactionFailedEvent : TransactionEvent
Constructors
TransactionFailedEvent()
Declaration
public TransactionFailedEvent()
Properties
FailureReason
(Required) The reason why this transaction failed.
Declaration
public string FailureReason { set; }
Property Value
Type | Description |
---|---|
string |
Methods
Validate()
Note that failing validation will not prevent event serialisation or upload. This method is intended to produce warning logs to assist in implementation and debugging. Events will still be validated properly by the server on reaching it.
Declaration
public override void Validate()