NetworkAlertManager Constructor (SynchronizationContext)
Initializes a new instance of the NetworkAlertManager class with the specified synchronization object.
Namespace: Microsoft.WindowsServerSolutions.NetworkHealth.AlertFramework
Assembly: AlertFramework (in AlertFramework.dll)
Syntax
public NetworkAlertManager(
SynchronizationContext syncContext
)
public:
NetworkAlertManager(
SynchronizationContext^ syncContext
)
Public Sub New (
syncContext As SynchronizationContext
)
Parameters
syncContext
Type: System.Threading.SynchronizationContextThe SynchronizationContext object that is used to connect to the Alert Provider.
Remarks
When the NetworkAlertManager connects, two events are raised between invoking the connection and fully entering the connected state. The ConnectionClosed event is raised first, then the ConnectionOpened event is raised when the network and local alert connections are acquired.
See Also
NetworkAlertManager Overload
NetworkAlertManager Class
Microsoft.WindowsServerSolutions.NetworkHealth.AlertFramework Namespace
Return to top