NetworkAlertManager Class
Represets the object that is used to manage network alerts.
Namespace: Microsoft.WindowsServerSolutions.NetworkHealth.AlertFramework
Assembly: AlertFramework (in AlertFramework.dll)
Inheritance Hierarchy
System.Object
Microsoft.WindowsServerSolutions.NetworkHealth.AlertFramework.AlertManager
Microsoft.WindowsServerSolutions.NetworkHealth.AlertFramework.NetworkAlertManager
Syntax
public class NetworkAlertManager : AlertManager
public ref class NetworkAlertManager : AlertManager
Public Class NetworkAlertManager
Inherits AlertManager
Constructors
Name | Description | |
---|---|---|
NetworkAlertManager() | Initializes a new instance of the NetworkAlertManager class. |
|
NetworkAlertManager(Boolean) | Initializes a new instance of the NetworkAlertManager class with the specified Boolean value. |
|
NetworkAlertManager(Boolean, SynchronizationContext) | Initializes a new instance of the NetworkAlertManager class with the specified Boolean value and the specified synchronization object. |
|
NetworkAlertManager(SynchronizationContext) | Initializes a new instance of the NetworkAlertManager class with the specified synchronization object. |
Properties
Name | Description | |
---|---|---|
AlertCollection | Gets a collection of alerts.(Inherited from AlertManager.) |
|
AlertCollectionFilter | Gets and sets the alert collection filter.(Inherited from AlertManager.) |
|
Connected | Indicates whether the NetworkAlertManager is connected to the Alert Provider. |
|
ConnectedToServer | Indicates whether the NetworkAlertManager object is connected to the server that is running the Alert Provider. |
|
IsAlertsCollectionInSync | Gets and sets a value that determines if the aler collection is in sync.(Inherited from AlertManager.) |
|
ProvidingNetworkAlerts | Indicates whether network alerts are being provided. |
|
Settings | Gets the settings for the Network Alert Manager. |
Methods
Name | Description | |
---|---|---|
ChangeSettings(INetworkAlertManagerSettings) | Changes the settings for the Network Alert Manager. |
|
Connect() | Connects to the local Alert Provider. |
|
Connect(TimeSpan) | Connects the network alert manager to the alert provider service with the specified timeout period. |
|
ConnectAsync() | Asynchronously connects to the Alert Provider. |
|
ConnectAsync(TimeSpan) | Asynchronously connects to the Alert Provider, using the specified timeout. |
|
Disconnect() | Disconnects the Network Alert Manager from the Alert Provider. |
|
Dispose() | Releases the resources used by the component.(Inherited from AlertManager.) |
|
Dispose(Boolean) | Releases the unmanaged resources used by the NetworkAlertManager object and optionally releases the managed resources.(Overrides AlertManager.Dispose(Boolean).) |
|
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.(Inherited from AlertManager.) |
|
GetAlert(AlertInfo) | Creates an Alert object.(Overrides AlertManager.GetAlert(AlertInfo).) |
|
GetAllNetworkAlerts() | Returns a collection of the Alert objects that represents the active alerts on the network. |
|
GetAllNetworkAlertsAsync() | Asynchronously returns a collection of Alert objects that represents the active alerts on the network. |
|
GetHashCode() | (Inherited from Object.) |
|
GetNetworkAlert(String, String, String) | Returns an alert, if it is exists, for the specified feature and health definition that is defined on the network. |
|
GetType() | (Inherited from Object.) |
|
HasNetworkAlertAccess() | Indicates whether the current user account is authorized to access the Network Alert Manager. |
|
MemberwiseClone() | (Inherited from Object.) |
|
RaiseNetworkAlert(AlertInfo) | Raises an alert with the specified information. |
|
RaiseNetworkAlertAsync(AlertInfo) | Asynchronously raises an alert with the specified information. |
|
RaiseTimeoutEvent() | Raises the timeout event.(Inherited from AlertManager.) |
|
RunOrPostToSynchronizationContext(Action) | Attempts to post an action to under the synchronization context, unless there is no synchronization context is set.(Inherited from AlertManager.) |
|
RunOrSendToSynchronizationContext(Action) | Attempts to send an action to under the synchronization context, unless there is no synchronization context is set.(Inherited from AlertManager.) |
|
StartHealthService(TimeSpan) | Attempts to start the service within the specified timeout window.(Inherited from AlertManager.) |
|
ToString() | (Inherited from Object.) |
Events
Name | Description | |
---|---|---|
ConnectionClosed | Represents the event that occurs when the connection is closed. |
|
ConnectionOpened | Represents the event that occurs when the connection is opened. |
|
ConnectionTimeout | Represents the event that is raised when the connection times out.(Inherited from AlertManager.) |
|
GetAllNetworkAlertsCompleted | Represents the event that is raised when the GetAllNetworkAlertsAsync method finishes. |
|
RaiseNetworkAlertCompleted | Represents the event that occurs when the call to the RaiseNetworkAlertAsync method is complete. |
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