Access Task Parameters in C# script

This shows how the typed Parameter value is accessible in the script.

To get a Parameter value as string during the Task script runtime, use the following method:

This method returns the string hello world. Parameters are always read only, so you are not able to set them to a new value during the Task script runtime.

Updated on February 20, 2025