This method is call by the service when stopping.

Namespace:  LeCouteauSuisse.API
Assembly:  LeCouteauSuisseAPI (in LeCouteauSuisseAPI.dll) Version: 1.0.0.2 (1.0.0.2)

Syntax

C#
public virtual void Stop()
Visual Basic (Declaration)
Public Overridable Sub Stop
Visual C++
public:
virtual void Stop()

Implements

IGenerator..::.Stop()()()

Remarks

This method is used by the service to alert your generator that the service is stopping and you must stop it as soon as possible. This method must not block and return immediatly. The base class save in the stopFlag field this call and you can test it with MustStop and WaitStop(Int32) inside your Run()()() method.

See Also