Instantiates an AsyncTaskResult.
a new instance of an AsyncTaskResult.
The result value.
The error value.
type of the Result.
type of the error.