Share via


ProviderServiceBase.OnStop Method ()

 

This method is called when the Windows Service is stopped.

Namespace:   Microsoft.WindowsServerSolutions.Common.ProviderFramework
Assembly:  ProviderFramework (in ProviderFramework.dll)

Syntax

protected override void OnStop()
protected:
virtual void OnStop() override
Protected Overrides Sub OnStop

Remarks

Classes that are derived from the ProviderServiceBase class do not need to override this method unless they must run additional code when the service is stopped.

See Also

ProviderServiceBase Class
Microsoft.WindowsServerSolutions.Common.ProviderFramework Namespace

Return to top