NetworkAlertManager.RaiseNetworkAlertAsync Method (AlertInfo)
Asynchronously raises an alert with the specified information.
Namespace: Microsoft.WindowsServerSolutions.NetworkHealth.AlertFramework
Assembly: AlertFramework (in AlertFramework.dll)
Syntax
public void RaiseNetworkAlertAsync(
AlertInfo alertInfo
)
public:
void RaiseNetworkAlertAsync(
AlertInfo^ alertInfo
)
Public Sub RaiseNetworkAlertAsync (
alertInfo As AlertInfo
)
Parameters
alertInfo
Type: Microsoft.WindowsServerSolutions.NetworkHealth.AlertFramework.AlertInfoThe AlertInfo object that defines the information for the alert.
Remarks
You must define the severity of the alert by using the Severity property of the AlertInfo object. The value can be Critical, Warning, or Informational. If the severity is not defined, it is automatically set to OK, which is not recognized by the Dashboard when listing alert occurrences.
See Also
NetworkAlertManager Class
Microsoft.WindowsServerSolutions.NetworkHealth.AlertFramework Namespace
Return to top