Partager via


AlertSynchProviderClient Class

 

Enables the implementation of an alert subsystem that synchronizes alerts with the Alert Provider.

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

Inheritance Hierarchy

System.Object
  Microsoft.WindowsServerSolutions.NetworkHealth.AlertFramework.AlertSynchProviderClient

Syntax

public sealed class AlertSynchProviderClient : IDisposable
public ref class AlertSynchProviderClient sealed : IDisposable
Public NotInheritable Class AlertSynchProviderClient
    Implements IDisposable

Constructors

Name Description
System_CAPS_pubmethod AlertSynchProviderClient()

Initializes a new instance of the AlertSynchProviderClient class.

Properties

Name Description
System_CAPS_pubproperty Connected

Indicates whether the alert subsystem is connected to the Alert Provider.

Methods

Name Description
System_CAPS_pubmethod ClearCallbackCommandQueue(String)

Clears the callback command queue if an alert agent is not running on the client computer.

System_CAPS_pubmethod Connect()

Connects the alert subsystem to the Alert Provider.

System_CAPS_pubmethod ConnectAsync()

Asynchronously connects the alert subsystem to the Alert Provider.

System_CAPS_pubmethod Disconnect()

Disconnects the client computer from the Alert Provider.

System_CAPS_pubmethod Dispose()

Releases all of the resources that are used by the AlertSynchProviderClient object.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod SynchronizeAlerts(IList<AlertInfo>, String, TaskType)

Synchronizes alerts with the Alert Provider.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Events

Name Description
System_CAPS_pubevent ConnectionClosed

Represents the event that is raised when the connection to the Alert Provider is closed.

System_CAPS_pubevent ConnectionOpened

Represents the event that is raised when the connection to the Alert Provider is opened.

Remarks

You cannot run an alert agent on client computers that run the Macintosh or Windows Mobile operating systems. You can solve this issue by implementing a subsystem on the server to communicate with them. The alert subsystem uses a unique protocol and aggregates the alerts from the client computers.

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