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
featureName
Type: System.StringThe name of the feature
healthDefinitionName
Type: System.StringThe name of the health definition.
description
Type: System.StringThe description of the alert.
additionalInfo
Type: System.Collections.Generic.IEnumerable<String>The list of additional information that is associated with the alert.
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