Create a new InvocationResult instance with the specified value.
an InvocationResult
the value (may be null)
null
the result type