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
- cleanupCode
Type: Microsoft.Ccr.Core. . :: . .Handler< (Of < ( <'Shutdown> ) > ) >
Delegate invoked when Shutdown is processed
Return Value
A Receiver instance attaching an internal receiver to the CleanupPort port