LocalAlertManager Class

 

Represents the object that is used to locally manage alerts.

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

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

public ref class LocalAlertManager : AlertManager

NameDescription
System_CAPS_pubmethodLocalAlertManager()

Initializes a new instance of the LocalAlertManager class.

System_CAPS_pubmethodLocalAlertManager(SynchronizationContext^)

Initializes a new instance of the LocalAlertManager class with the specified synchronization object.

NameDescription
System_CAPS_pubpropertyAlertCollection

Gets a collection of alerts.(Inherited from AlertManager.)

System_CAPS_protpropertyAlertCollectionFilter

Gets and sets the alert collection filter.(Inherited from AlertManager.)

System_CAPS_pubpropertyConnected

Indicates whether the LocalAlertManager is connected to the Alert Provider.

System_CAPS_protpropertyIsAlertsCollectionInSync

Gets and sets a value that determines if the aler collection is in sync.(Inherited from AlertManager.)

NameDescription
System_CAPS_pubmethodClearLocalAlert(String^, String^)

Removes the alert from the network.

System_CAPS_pubmethodClearLocalAlertAsync(String^, String^)

Asynchronously removes an alert from the network.

System_CAPS_pubmethodConnect()

Connects to the local Alert Provider.

System_CAPS_pubmethodConnect(TimeSpan)

Connects the local alert manager to the local alert provider service with the specified timeout period.

System_CAPS_pubmethodConnectAsync()

Asynchonously connects to the local Alert Provider.

System_CAPS_pubmethodConnectAsync(TimeSpan)

Asynchronously connects the local alert manager to the local alert provider service with the specified timeout period.

System_CAPS_pubmethodDisconnect()

Disconnects the Local Alert Manager from the Alert Provider.

System_CAPS_pubmethodDispose()

Releases the resources used by the component.(Inherited from AlertManager.)

System_CAPS_protmethodDispose(Boolean)

Releases the unmanaged resources used by the LocalAlertManager object and optionally releases the managed resources.(Overrides AlertManager::Dispose(Boolean).)

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_pubmethodEvaluateAlerts()

Starts a health evaluation cycle on the local computer by using a scheduled task.

System_CAPS_pubmethodEvaluateAlertsAsync()

Asynchronously starts a health evaluation cycle on the local computer.

System_CAPS_pubmethodEvaluateAllAlertsAsync()

Asynchronously starts a health evaluation cycle on the local computer for all of the health definitions that are defined.

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_protmethodFirstOrDefaultAlert(Func<Alert^, Boolean>^)

A thread safe way to access find an alert in the alert collection.(Inherited from AlertManager.)

System_CAPS_protmethodGetAlert(AlertInfo^)

Creates an Alert object.(Overrides AlertManager::GetAlert(AlertInfo^).)

System_CAPS_pubmethodGetAllLocalAlerts()

Returns a collection of the Alert objects that represents the active alerts on the local computer.

System_CAPS_pubmethodGetAllLocalAlertsAsync()

Asynchronously returns a collection of Alert objects that represents the active alerts on the local computer.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetLocalAlert(String^, String^)

Returns an alert, if it is exists, for the specified feature and health definition that is defined on the local computer.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRaiseLocalAlert(String^, String^, String^)

Raises an alert for a health definition that is defined on the local computer.

System_CAPS_pubmethodRaiseLocalAlert(String^, String^, String^, IEnumerable<String^>^)

Raises an alert for a health definition that is defined on the local computer, using the specified information.

System_CAPS_pubmethodRaiseLocalAlertAsync(String^, String^, String^)

Asynchronously raises an alert for a health definition that is defined on the local computer.

System_CAPS_pubmethodRaiseLocalAlertAsync(String^, String^, String^, IEnumerable<String^>^)

Asynchronously raises an alert for a health definition that is defined on the local computer, using the specified additional information.

System_CAPS_protmethodRaiseTimeoutEvent()

Raises the timeout event.(Inherited from AlertManager.)

System_CAPS_protmethodRunOrPostToSynchronizationContext(Action^)

Attempts to post an action to under the synchronization context, unless there is no synchronization context is set.(Inherited from AlertManager.)

System_CAPS_protmethodRunOrSendToSynchronizationContext(Action^)

Attempts to send an action to under the synchronization context, unless there is no synchronization context is set.(Inherited from AlertManager.)

System_CAPS_protmethodStartHealthService(TimeSpan)

Attempts to start the service within the specified timeout window.(Inherited from AlertManager.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodUpdateDefinitionPlugIn()

Updates the feature definitions on the server.

NameDescription
System_CAPS_pubeventClearLocalAlertCompleted

Represents an event that is raised when the ClearLocalAlertAsync method finishes.

System_CAPS_pubeventConnectionClosed

Represents the event that occurs when the connection is closed.

System_CAPS_pubeventConnectionOpened

Represents the event that occurs when the connection is opened.

System_CAPS_pubeventConnectionTimeout

Represents the event that is raised when the connection times out.(Inherited from AlertManager.)

System_CAPS_pubeventEvaluateAlertsCompleted

Represents an event that is raised when the EvaluateAlertsAsync method finishes.

System_CAPS_pubeventEvaluateAllAlertsCompleted

Represents an event that is raised when the EvaluateAllAlertsAsync method finishes.

System_CAPS_pubeventGetAllLocalAlertsCompleted

Represents the events that is raised when the GetAllLocalAlertsAsync method finishes.

System_CAPS_pubeventRaiseLocalAlertCompleted

Represents an event that is raised when the RaiseLocalAlertAsync method finishes.

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

Return to top

Community Additions

ADD
Show: