Compartilhar via


TaskFailureDetails.FromException(Exception) Method

Definition

Creates a task failure details from an Exception.

public static Microsoft.DurableTask.TaskFailureDetails FromException (Exception exception);
static member FromException : Exception -> Microsoft.DurableTask.TaskFailureDetails
Public Shared Function FromException (exception As Exception) As TaskFailureDetails

Parameters

exception
Exception

The exception to use.

Returns

A new task failure details.

Applies to