Table of Contents

Class OutboundFailureDetails

Namespace
Temporalio.Exceptions
Assembly
Temporalio.dll

Implementation of IFailureDetails for language values that are converted later.

public record OutboundFailureDetails : IFailureDetails, IEquatable<OutboundFailureDetails>
Inheritance
OutboundFailureDetails
Implements
Inherited Members

Constructors

OutboundFailureDetails(IReadOnlyCollection<object?>?)

Implementation of IFailureDetails for language values that are converted later.

public OutboundFailureDetails(IReadOnlyCollection<object?>? Details)

Parameters

Details IReadOnlyCollection<object>

Collection of details to reference.

Properties

Count

Gets the number of details. May be 0.

public int Count { get; }

Property Value

int

Details

Collection of details to reference.

public IReadOnlyCollection<object?>? Details { get; init; }

Property Value

IReadOnlyCollection<object>

Methods

ElementAt<T>(int)

Get a detail value at the given index, converting to the given type if needed.

public T ElementAt<T>(int index)

Parameters

index int

Index of the detail item.

Returns

T

Item at this index for the given type.

Type Parameters

T

The detail type to get. For outbound details this is a cast, for inbound this is a conversion.

Remarks

This will fail if the index is out of range or the type is invalid for the detail item within.