What is a valid input value for the GPRasterData type? I created a GPK from the Clip Raster tool and no inputs I have tried have been successful. The constructor is GPRasterData(string name, System.Uri uri, string format).
For the Uri, I have tried using a path from an ArcGISOnline server, from an ArcGISDynamicMapServiceLayer, and from just the local file system, but every time my Geoprocessor SubmitJobAsync returns Failed with no additional information. I have had success with all other types of GPParameters with various other GPKs I have created, but this one just won't work and won't give me any more information about the failure.
Please, can someone point me to a working example using the GPRasterData type? This application will be in an entirely offline environment so the input will need to be locally accessible.
I did find this question stating that using an elevation service path as the input will not work. So what does work??