Share via


Cleanup Method (Handler(Shutdown))

Microsoft Robotics Class Reference

Post a Shutdown message instance on the internal cleanup port and invokes the supplied delegate before the default cleanup handler

Namespace: Microsoft.Dss.Core
Assembly: Microsoft.Dss.Runtime (in Microsoft.Dss.Runtime.dll) Version: 4.0.261.0 (4.0.261.0)

Syntax

protected Receiver<Shutdown> Cleanup(
    Handler<Shutdown> cleanupCode
)

Parameters

Return Value

A Receiver instance attaching an internal receiver to the CleanupPort port

See Also

ServiceBase Class

Cleanup Overload

Microsoft.Dss.Core Namespace