Compartilhar via


TaskFailureDetails Class

Definition

Record that represents the details of a task failure.

public class TaskFailureDetails : IEquatable<Microsoft.DurableTask.TaskFailureDetails>
type TaskFailureDetails = class
    interface IEquatable<TaskFailureDetails>
Public Class TaskFailureDetails
Implements IEquatable(Of TaskFailureDetails)
Inheritance
TaskFailureDetails
Implements

Constructors

TaskFailureDetails(String, String, String, TaskFailureDetails)

Record that represents the details of a task failure.

TaskFailureDetails(TaskFailureDetails)

Properties

EqualityContract
ErrorMessage

A summary description of the failure.

ErrorType

The error type. For .NET, this is the namespace-qualified exception type name.

InnerFailure

The inner cause of the task failure.

StackTrace

The stack trace of the failure.

Methods

<Clone>$()
Deconstruct(String, String, String, TaskFailureDetails)
Equals(Object)
Equals(TaskFailureDetails)
FromException(Exception)

Creates a task failure details from an Exception.

GetHashCode()
IsCausedBy<T>()

Returns true if the task failure was provided by the specified exception type.

PrintMembers(StringBuilder)
ToString()

Gets a debug-friendly description of the failure information.

Operators

Equality(TaskFailureDetails, TaskFailureDetails)
Inequality(TaskFailureDetails, TaskFailureDetails)

Applies to