Share via


Stop Method

Microsoft Robotics Class Reference

Stops the DssNode using the specified timeout.

Namespace: Microsoft.Dss.Hosting
Assembly: Microsoft.Dss.Environment (in Microsoft.Dss.Environment.dll) Version: 4.0.261.0 (4.0.261.0)

Syntax

public Port<EmptyValue> Stop(
    TimeSpan timeout
)

Parameters

Return Value

A port where an EmptyValue is posted once the Stop operation is complete.

Remarks

For in process nodes using a seperate app domain, the timeout may be used twice; Once when trying to stop the node clean and once when waiting for DSS environment to shut down. If a seperate process is used it is killed if clean shutdown fails.

See Also

DssNode Class

Microsoft.Dss.Hosting Namespace