Partager via


LocalAlertManager.RaiseLocalAlertAsync Method (String, String, String, IEnumerable<String>)

 

Asynchronously raises an alert for a health definition that is defined on the local computer, using the specified additional information.

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

Syntax

public void RaiseLocalAlertAsync(
    string featureName,
    string healthDefinitionName,
    string description,
    IEnumerable<string> additionalInfo
)
public:
void RaiseLocalAlertAsync(
    String^ featureName,
    String^ healthDefinitionName,
    String^ description,
    IEnumerable<String^>^ additionalInfo
)
Public Sub RaiseLocalAlertAsync (
    featureName As String,
    healthDefinitionName As String,
    description As String,
    additionalInfo As IEnumerable(Of String)
)

Parameters

  • healthDefinitionName
    Type: System.String

    The name of the health definition.

Remarks

Subscribe to the RaiseLocalAlertCompleted event to be notified when this method finishes.

See Also

RaiseLocalAlertAsync Overload
LocalAlertManager Class
Microsoft.WindowsServerSolutions.NetworkHealth.AlertFramework Namespace

Return to top