次の方法で共有


ClientHealthActivity.OnStop 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 OnStop(
    IActivityHost service
)
public:
virtual void OnStop(
    IActivityHost^ service
) override
Public Overrides Sub OnStop (
    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