Partager via


ClientHealthActivity Class

 

Represents the service application that will host the IAlertAgentProviderService provider service on every client machine in the network.

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

Inheritance Hierarchy

System.Object
  Microsoft.WindowsServer.Essentials.WindowsService.ActivityBase
    Microsoft.WindowsServerSolutions.Common.ProviderFramework.ProviderActivityBase
      Microsoft.WindowsServerSolutions.NetworkHealth.AlertFramework.ClientHealthActivity

Syntax

public class ClientHealthActivity : ProviderActivityBase, IAutoShutDown
public ref class ClientHealthActivity : ProviderActivityBase, 
    IAutoShutDown
Public Class ClientHealthActivity
    Inherits ProviderActivityBase
    Implements IAutoShutDown

Constructors

Name Description
System_CAPS_pubmethod ClientHealthActivity()

Creates a new instance of the ClientHealthActivity object.

Properties

Name Description
System_CAPS_pubproperty WorkloadId

Gets the workload ID.

Methods

Name Description
System_CAPS_pubmethod CreateProviderHosts()

Returns a non-empty list of ProviderHost objects.(Overrides ProviderActivityBase.CreateProviderHosts().)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod OnStart(IActivityHost)

Called when the service starts; implements the initiation before the the health provider starts servicing.(Overrides ProviderActivityBase.OnStart(IActivityHost).)

System_CAPS_pubmethod OnStartPass2(IActivityHost)

(Inherited from ActivityBase.)

System_CAPS_pubmethod OnStop(IActivityHost)

Called when the service is stopped; contains the cleanup code to run before the health provider stops servicing.(Overrides ProviderActivityBase.OnStop(IActivityHost).)

System_CAPS_pubmethod OnStopPass2(IActivityHost)

Called when the service is stopped; contains the cleanup code to run before the health provider stops servicing.(Overrides ActivityBase.OnStopPass2(IActivityHost).)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.WindowsServerSolutions.NetworkHealth.AlertFramework Namespace

Return to top