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 | |
---|---|---|
AlertManager(Boolean, SynchronizationContext) | Creates a new instance of the AlertManager object, using the specified server client and sync context. |
Properties
Name | Description | |
---|---|---|
AlertCollection | Gets a collection of alerts. |
|
AlertCollectionFilter | Gets and sets the alert collection filter. |
|
IsAlertsCollectionInSync | Gets and sets a value that determines if the aler collection is in sync. |
Methods
Name | Description | |
---|---|---|
Dispose() | Releases the resources used by the component. |
|
Dispose(Boolean) | Releases the unmanaged resources used by the AlertManager and optionally releases the managed resources. |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
FirstOrDefaultAlert(Func<Alert, Boolean>) | A thread safe way to access find an alert in the alert collection. |
|
GetAlert(AlertInfo) | Creates an Alert object. |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
RaiseTimeoutEvent() | Raises the timeout event. |
|
RunOrPostToSynchronizationContext(Action) | Attempts to post an action to under the synchronization context, unless there is no synchronization context is set. |
|
RunOrSendToSynchronizationContext(Action) | Attempts to send an action to under the synchronization context, unless there is no synchronization context is set. |
|
StartHealthService(TimeSpan) | Attempts to start the service within the specified timeout window. |
|
ToString() | (Inherited from Object.) |
Events
Name | Description | |
---|---|---|
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