Gets the properties of the task.
Namespace: AGI.Parallel.Infrastructure
Assembly: AGI.Parallel.Infrastructure (in AGI.Parallel.Infrastructure.dll) Version: 1.2.0.275 (1.2.0.275)

Syntax

C#
public Hashtable Properties { get; internal set; }
Visual Basic
Public Property Properties As Hashtable
        Get
        Friend Set

Examples

  Copy imageCopy
[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