Partager via


ClientHealthActivity.OnStopPass2 Method (IActivityHost)

 

Called when the service is stopped; contains the cleanup code to run before the health provider stops servicing.

Namespace:   Microsoft.WindowsServerSolutions.NetworkHealth.AlertFramework
Assembly:  AlertFramework (in AlertFramework.dll)

Syntax

public override void OnStopPass2(
    IActivityHost service
)
public:
virtual void OnStopPass2(
    IActivityHost^ service
) override
Public Overrides Sub OnStopPass2 (
    service As IActivityHost
)

Parameters

  • service
    Type: Microsoft.WindowsServer.Essentials.WindowsService.IActivityHost

    The service to stop.

See Also

ClientHealthActivity Class
Microsoft.WindowsServerSolutions.NetworkHealth.AlertFramework Namespace

Return to top