TaskFailedException Constructors
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.
Overloads
TaskFailedException(String, Int32, TaskFailureDetails) |
Initializes a new instance of the TaskFailedException class. |
TaskFailedException(String, Int32, Exception) |
Initializes a new instance of the TaskFailedException class. |
TaskFailedException(String, Int32, TaskFailureDetails)
Initializes a new instance of the TaskFailedException class.
public TaskFailedException (string taskName, int taskId, Microsoft.DurableTask.TaskFailureDetails failureDetails);
new Microsoft.DurableTask.TaskFailedException : string * int * Microsoft.DurableTask.TaskFailureDetails -> Microsoft.DurableTask.TaskFailedException
Public Sub New (taskName As String, taskId As Integer, failureDetails As TaskFailureDetails)
Parameters
- taskName
- String
The task name.
- taskId
- Int32
The task ID.
- failureDetails
- TaskFailureDetails
The failure details.
Applies to
TaskFailedException(String, Int32, Exception)
Initializes a new instance of the TaskFailedException class.
public TaskFailedException (string taskName, int taskId, Exception innerException);
new Microsoft.DurableTask.TaskFailedException : string * int * Exception -> Microsoft.DurableTask.TaskFailedException
Public Sub New (taskName As String, taskId As Integer, innerException As Exception)
Parameters
- taskName
- String
The task name.
- taskId
- Int32
The task ID.
- innerException
- Exception
The inner exception.