public static TaskExecutionResultInfo ExecutedWithError(QueuedTaskError error, bool isRecoverable) { if (error == null) { throw new ArgumentNullException(nameof(error)); } return(new TaskExecutionResultInfo(TaskExecutionStatus.ExecutedWithError, error: error, isRecoverable: isRecoverable)); }
private TaskExecutionResultInfo(TaskExecutionStatus status, QueuedTaskError error, bool isRecoverable) { mStatus = status; mError = error; mIsRecoverable = isRecoverable; }