AlertInfo Constructor (String, String, String)
Initializes a new instance of the AlertInfo class with the specified identifying information.
Namespace: Microsoft.WindowsServerSolutions.NetworkHealth.AlertFramework
Assembly: AlertFramework (in AlertFramework.dll)
Syntax
public AlertInfo(
string machineId,
string featureName,
string healthDefinitionName
)
public:
AlertInfo(
String^ machineId,
String^ featureName,
String^ healthDefinitionName
)
Public Sub New (
machineId As String,
featureName As String,
healthDefinitionName As String
)
Parameters
machineId
Type: System.StringThe identifier of the computer from which the alert orginated.
featureName
Type: System.StringThe health definition of the alert.
healthDefinitionName
Type: System.StringThe feature name of the alert.
Remarks
The parameters form the key that is used to identify an alert. To display the alert in the Dashboard, the following properties must also be set: MachineName, HealthDefinitionTitle, FeatureTitle,Description, Severity, and SupportLink.
See Also
AlertInfo Overload
AlertInfo Class
Microsoft.WindowsServerSolutions.NetworkHealth.AlertFramework Namespace
Return to top