LocalAlertManager.ClearLocalAlert Method (String, String)
Removes the alert from the network.
Namespace: Microsoft.WindowsServerSolutions.NetworkHealth.AlertFramework
Assembly: AlertFramework (in AlertFramework.dll)
Syntax
public void ClearLocalAlert(
string featureName,
string healthDefinitionName
)
public:
void ClearLocalAlert(
String^ featureName,
String^ healthDefinitionName
)
Public Sub ClearLocalAlert (
featureName As String,
healthDefinitionName As String
)
Parameters
featureName
Type: System.StringThe name of the feature.
healthDefinitionName
Type: System.StringThe name of the health definition.
Exceptions
Exception | Condition |
---|---|
AlertProviderException | Communication or connection errors occurred when calling the provider service. |
See Also
LocalAlertManager Class
Microsoft.WindowsServerSolutions.NetworkHealth.AlertFramework Namespace
Return to top