TaskProperties Property

Gets the properties of the task.
Namespace:  AGI.Parallel.Infrastructure
Assembly:  AGI.Parallel.Infrastructure (in AGI.Parallel.Infrastructure.dll) Version: 1.3.0.366 (1.3.0.366)
Syntax
public Hashtable Properties { get; }

Property Value

Type: Hashtable
Examples
[Serializable]
public class PropertiesExample : Task
{
    public override void Execute()
    {
        this.SetProperty("Property1", 100);
        this.SetProperty("Property2", "hundred");
        this.Result = "This won't get back to the scheduler as we will see";

        throw new Exception("Task failure");
    }
}
See Also

STK Scalability 1.3 API for .NET