次の方法で共有


ServerHealthActivity Class

 

Describes the health activity of a server.

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.ServerHealthActivity

Syntax

public class ServerHealthActivity : ProviderActivityBase
public ref class ServerHealthActivity : ProviderActivityBase
Public Class ServerHealthActivity
    Inherits ProviderActivityBase

Constructors

Name Description
System_CAPS_pubmethod ServerHealthActivity()

Creates a new instance of the ServerHealthActivity object.

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 a service the provider supports is started; initializaes the health provider before the provider starts servicing.(Overrides ProviderActivityBase.OnStart(IActivityHost).)

System_CAPS_pubmethod OnStartPass2(IActivityHost)

(Inherited from ActivityBase.)

System_CAPS_pubmethod OnStop(IActivityHost)

Called when the health provider is stopped; performs cleanup before the provider actually stops servicing.(Overrides ProviderActivityBase.OnStop(IActivityHost).)

System_CAPS_pubmethod OnStopPass2(IActivityHost)

Called when the health provider is stopped; performs cleanup before the provider actually 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