Esempio n. 1
0
 /// <summary>
 /// Get the execution result in case the result is an exception. If the execution yielded no exception this method
 /// returns {@code null}.
 /// </summary>
 /// <returns>The exception raised during execution of the task if any, {@code null} otherwise.</returns>
 public Exception?GetExceptionResult()
 {
     return(IsExceptionResult() ? _result.ExceptionResult() : null);
 }