次の方法で共有


AlertManager Class

 

Base class that contains the common operations used by the LocalAlertManager and NetworkAlertManager.

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

Inheritance Hierarchy

System.Object
  Microsoft.WindowsServerSolutions.NetworkHealth.AlertFramework.AlertManager
    Microsoft.WindowsServerSolutions.NetworkHealth.AlertFramework.LocalAlertManager
    Microsoft.WindowsServerSolutions.NetworkHealth.AlertFramework.NetworkAlertManager

Syntax

public abstract class AlertManager : IDisposable
public ref class AlertManager abstract : IDisposable
Public MustInherit Class AlertManager
    Implements IDisposable

Constructors

Name Description
System_CAPS_protmethod AlertManager(Boolean, SynchronizationContext)

Creates a new instance of the AlertManager object, using the specified server client and sync context.

Properties

Name Description
System_CAPS_pubproperty AlertCollection

Gets a collection of alerts.

System_CAPS_protproperty AlertCollectionFilter

Gets and sets the alert collection filter.

System_CAPS_protproperty IsAlertsCollectionInSync

Gets and sets a value that determines if the aler collection is in sync.

Methods

Name Description
System_CAPS_pubmethod Dispose()

Releases the resources used by the component.

System_CAPS_protmethod Dispose(Boolean)

Releases the unmanaged resources used by the AlertManager and optionally releases the managed resources.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_protmethod FirstOrDefaultAlert(Func<Alert, Boolean>)

A thread safe way to access find an alert in the alert collection.

System_CAPS_protmethod GetAlert(AlertInfo)

Creates an Alert object.

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethod RaiseTimeoutEvent()

Raises the timeout event.

System_CAPS_protmethod RunOrPostToSynchronizationContext(Action)

Attempts to post an action to under the synchronization context, unless there is no synchronization context is set.

System_CAPS_protmethod RunOrSendToSynchronizationContext(Action)

Attempts to send an action to under the synchronization context, unless there is no synchronization context is set.

System_CAPS_protmethod StartHealthService(TimeSpan)

Attempts to start the service within the specified timeout window.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Events

Name Description
System_CAPS_pubevent ConnectionTimeout

Represents the event that is raised when the connection times out.

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