Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Called when the service starts; implements the initiation before the the health provider starts servicing.
Namespace: Microsoft.WindowsServerSolutions.NetworkHealth.AlertFramework
Assembly: AlertFramework (in AlertFramework.dll)
Syntax
public override bool OnStart(
IActivityHost service
)
public:
virtual bool OnStart(
IActivityHost^ service
) override
Public Overrides Function OnStart (
service As IActivityHost
) As Boolean
Parameters
service
Type: Microsoft.WindowsServer.Essentials.WindowsService.IActivityHostThe service that is about to be started.
Return Value
Type: System.Boolean
true if the service was started; otherwise, false.
See Also
ClientHealthActivity Class
Microsoft.WindowsServerSolutions.NetworkHealth.AlertFramework Namespace
Return to top