次の方法で共有


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
System_CAPS_pubmethod NetworkAlertManager()

Initializes a new instance of the NetworkAlertManager class.

System_CAPS_pubmethod NetworkAlertManager(Boolean)

Initializes a new instance of the NetworkAlertManager class with the specified Boolean value.

System_CAPS_pubmethod NetworkAlertManager(Boolean, SynchronizationContext)

Initializes a new instance of the NetworkAlertManager class with the specified Boolean value and the specified synchronization object.

System_CAPS_pubmethod NetworkAlertManager(SynchronizationContext)

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

Properties

Name Description
System_CAPS_pubproperty AlertCollection

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

System_CAPS_protproperty AlertCollectionFilter

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

System_CAPS_pubproperty Connected

Indicates whether the NetworkAlertManager is connected to the Alert Provider.

System_CAPS_pubproperty ConnectedToServer

Indicates whether the NetworkAlertManager object is connected to the server that is running the Alert Provider.

System_CAPS_protproperty IsAlertsCollectionInSync

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

System_CAPS_pubproperty ProvidingNetworkAlerts

Indicates whether network alerts are being provided.

System_CAPS_pubproperty Settings

Gets the settings for the Network Alert Manager.

Methods

Name Description
System_CAPS_pubmethod ChangeSettings(INetworkAlertManagerSettings)

Changes the settings for the Network Alert Manager.

System_CAPS_pubmethod Connect()

Connects to the local Alert Provider.

System_CAPS_pubmethod Connect(TimeSpan)

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

System_CAPS_pubmethod ConnectAsync()

Asynchronously connects to the Alert Provider.

System_CAPS_pubmethod ConnectAsync(TimeSpan)

Asynchronously connects to the Alert Provider, using the specified timeout.

System_CAPS_pubmethod Disconnect()

Disconnects the Network Alert Manager from the Alert Provider.

System_CAPS_pubmethod Dispose()

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

System_CAPS_protmethod Dispose(Boolean)

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

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.(Inherited from AlertManager.)

System_CAPS_protmethod GetAlert(AlertInfo)

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

System_CAPS_pubmethod GetAllNetworkAlerts()

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

System_CAPS_pubmethod GetAllNetworkAlertsAsync()

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

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetNetworkAlert(String, String, String)

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

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod HasNetworkAlertAccess()

Indicates whether the current user account is authorized to access the Network Alert Manager.

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod RaiseNetworkAlert(AlertInfo)

Raises an alert with the specified information.

System_CAPS_pubmethod RaiseNetworkAlertAsync(AlertInfo)

Asynchronously raises an alert with the specified information.

System_CAPS_protmethod RaiseTimeoutEvent()

Raises the timeout event.(Inherited from AlertManager.)

System_CAPS_protmethod RunOrPostToSynchronizationContext(Action)

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

System_CAPS_protmethod RunOrSendToSynchronizationContext(Action)

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

System_CAPS_protmethod StartHealthService(TimeSpan)

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

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Events

Name Description
System_CAPS_pubevent ConnectionClosed

Represents the event that occurs when the connection is closed.

System_CAPS_pubevent ConnectionOpened

Represents the event that occurs when the connection is opened.

System_CAPS_pubevent ConnectionTimeout

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

System_CAPS_pubevent GetAllNetworkAlertsCompleted

Represents the event that is raised when the GetAllNetworkAlertsAsync method finishes.

System_CAPS_pubevent 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