Click or drag to resize

TaskProperties Property

Gets the properties of the task.

Namespace:  AGI.Parallel.Infrastructure
Assembly:  AGI.Parallel.Infrastructure (in AGI.Parallel.Infrastructure.dll) Version: 2.9.0.1601 (2.9.0.1601)
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 Parallel Computing Server 2.9 API for .NET