NetworkAlertManager Members

Represets the object that is used to manage network alerts.

The following tables list the members exposed by the NetworkAlertManager type.

Public Constructors

  Name Description
  NetworkAlertManager Overloaded. Initializes a new instance of the NetworkAlertManager class.

Top

Public Properties

(see also Protected Properties)

  Name Description
public property AlertCollection  Gets the read-only collection of alerts. (Inherited from AlertManager)
public property Connected Indicates whether the NetworkAlertManager is connected to the Alert Provider.
public property ConnectedToServer Indicates whether the NetworkAlertManager object is connected to the server that is running the Alert Provider.
public property ProvidingNetworkAlerts Indicates whether network alerts are being provided.
public property Settings Gets the settings for the Network Alert Manager.

Top

Protected Properties

  Name Description
protected property AlertCollectionFilter  Gets or sets the filtering method for the alert collection. (Inherited from AlertManager)
protected property IsAlertsCollectionInSync  Gets or sets a value that indicates whether the alert collection has been synchronized with the provider. (Inherited from AlertManager)

Top

Public Methods

(see also Protected Methods)

  Name Description
public method ChangeSettings Changes the settings for the Network Alert Manager.
public method Connect Overloaded. Connects the network alert manager to the alert provider service.
public method ConnectAsync Overloaded. Asynchronously connects the network alert manager to the alert provider service.
public method Disconnect Disconnects the Network Alert Manager from the Alert Provider.
public method Dispose  Overloaded. Releases the resources that are used by the AlertManager object. (Inherited from AlertManager)
public method Equals  (Inherited from Object)
public method GetAllNetworkAlerts Returns a collection of the Alert objects that represents the active alerts on the network.
public method GetAllNetworkAlertsAsync Asynchronously returns a collection of Alert objects that represents the active alerts on the network.
public method GetHashCode  (Inherited from Object)
public method GetNetworkAlert Returns an alert, if it is exists, for the specified feature and health definition that is defined on the network.
public method GetType  (Inherited from Object)
public method HasNetworkAlertAccess Indicates whether the current user account is authorized to access the Network Alert Manager.
public method RaiseNetworkAlert Raises an alert with the specified information.
public method RaiseNetworkAlertAsync Asynchronously raises an alert with the specified information.
public method ToString  (Inherited from Object)

Top

Protected Methods

  Name Description
protected method Dispose  Overloaded. Releases the resources that are used by the AlertManager object. (Inherited from AlertManager)
protected method Dispose Overridden. Releases the unmanaged resources used by the NetworkAlertManager object and optionally releases the managed resources.
protected method Finalize  (Inherited from Object)
protected method FirstOrDefaultAlert  (Inherited from AlertManager)
protected method GetAlert Overridden. Creates an Alert object.
protected method MemberwiseClone  (Inherited from Object)
protected method RunOrPostToSynchronizationContext  Posts an action to run under SynchronizationContext, unless no SynchronizationContext is set. (Inherited from AlertManager)
protected method RunOrSendToSynchronizationContext  Sends an action to run under SynchronizationContext, unless no SynchronizationContext is set. (Inherited from AlertManager)

Top

Public Events

  Name Description
public event ConnectionClosed Represents the event that occurs when the connection is closed.
public event ConnectionOpened Represents the event that occurs when the connection is opened.
public event ConnectionTimeout Represents the event that occurs when the connection to alert provider times out.
public event GetAllNetworkAlertsCompleted Represents the event that is raised when the GetAllNetworkAlertsAsync method finishes.
public event RaiseNetworkAlertCompleted Represents the event that occurs when the call to the RaiseNetworkAlertAsync method is complete.

Top

See Also

Reference

NetworkAlertManager Class
Microsoft.WindowsServerSolutions.NetworkHealth.AlertFramework Namespace

Copyright © 2013 by Microsoft Corporation. All rights reserved.