ComputationActivate Method Naiad Help

[This is preliminary documentation and is subject to change.]

Starts computation in this graph.

Namespace: Microsoft.Research.Naiad
Assembly: Microsoft.Research.Naiad (in Microsoft.Research.Naiad.dll) Version: 0.5.0.0 (0.5.0.0)
Syntax

C#
void Activate()
Remarks

This method must be called after the entire dataflow graph has been constructed, and before calling Join, or an error will be raised.
Examples

The typical usage of Activate is between the definition of the dataflow graph and before inputs are supplied to the graph:
using (Computation computation = controller.NewComputation())
{
    /* Dataflow graph defined here. */

    computation.Activate();

    /* Inputs supplied here. */

    computation.Join();
}
See Also

Reference

ComputationActivate