Class TrustTokenOperationDoneEventArgs
Fired exactly once for each Trust Token operation. Depending on the type of the operation and whether the operation succeeded or failed, the event is fired before the corresponding request was sent or after the response was received.
public sealed record TrustTokenOperationDoneEventArgs : EventArgs, IEquatable<EventArgs>, IEquatable<TrustTokenOperationDoneEventArgs>
- Inheritance
-
EventArgsTrustTokenOperationDoneEventArgs
- Implements
-
IEquatable<EventArgs>
- Inherited Members
-
EventArgs.ToString()EventArgs.GetHashCode()EventArgs.Equals(EventArgs)EventArgs.<Clone>$()EventArgs.BiDiEventArgs.AdditionalDataEventArgs.AdditionalMessageData
Constructors
TrustTokenOperationDoneEventArgs(string, TrustTokenOperationType, RequestId, string?, string?, long?)
Fired exactly once for each Trust Token operation. Depending on the type of the operation and whether the operation succeeded or failed, the event is fired before the corresponding request was sent or after the response was received.
public TrustTokenOperationDoneEventArgs(string Status, TrustTokenOperationType Type, RequestId RequestId, string? TopLevelOrigin = null, string? IssuerOrigin = null, long? IssuedTokenCount = null)
Parameters
StatusstringDetailed success or error status of the operation. 'AlreadyExists' also signifies a successful operation, as the result of the operation already exists und thus, the operation was abort preemptively (e.g. a cache hit).
TypeTrustTokenOperationTypeRequestIdRequestIdTopLevelOriginstringTop level origin. The context in which the operation was attempted.
IssuerOriginstringOrigin of the issuer in case of a "Issuance" or "Redemption" operation.
IssuedTokenCountlong?The number of obtained Trust Tokens on a successful "Issuance" operation.
Properties
IssuedTokenCount
The number of obtained Trust Tokens on a successful "Issuance" operation.
public long? IssuedTokenCount { get; init; }
Property Value
- long?
IssuerOrigin
Origin of the issuer in case of a "Issuance" or "Redemption" operation.
public string? IssuerOrigin { get; init; }
Property Value
RequestId
public RequestId RequestId { get; init; }
Property Value
Status
Detailed success or error status of the operation. 'AlreadyExists' also signifies a successful operation, as the result of the operation already exists und thus, the operation was abort preemptively (e.g. a cache hit).
public string Status { get; init; }
Property Value
TopLevelOrigin
Top level origin. The context in which the operation was attempted.
public string? TopLevelOrigin { get; init; }
Property Value
Type
public TrustTokenOperationType Type { get; init; }