The parameter must be registered as an output parameter before the value of the parameter can be obtained.