Partager via


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

  • healthDefinitionName
    Type: System.String

    The 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