TaskFailureDetails.FromException(Exception) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.