Alert Class
Represents a Network Health Alert.
Namespace: Microsoft.WindowsServerSolutions.NetworkHealth.AlertFramework
Assembly: AlertFramework (in AlertFramework.dll)
Inheritance Hierarchy
System.Object
Microsoft.WindowsServerSolutions.NetworkHealth.AlertFramework.Alert
Syntax
public class Alert : INotifyPropertyChanged
public ref class Alert : INotifyPropertyChanged
Public Class Alert
Implements INotifyPropertyChanged
Properties
Name | Description | |
---|---|---|
ActionPerformed | Gets the action for the alert that is performed when the alert is detected. |
|
AdditionalInfo | Gets additional information about the alert. |
|
DateAndTime | Gets the date and time when the alert was raised. |
|
Description | Gets the description of the alert. |
|
Escalate | Indicates whether the alert must be escalated to the administrator. |
|
Expired | Indicates whether the alert is removed from the collection of alerts that is managed by the Alert Manager. |
|
FeatureName | Gets the name of the feature that is associated with the alert. |
|
FeatureTitle | Gets the title of the feature that is associated with the alert. |
|
HealthDefinitionName | Gets the name of the health definition that is associated with the alert. |
|
HealthDefinitionTitle | Gets the title of the health definition that is associated with the alert. |
|
InstanceId | Gets the identifier of the alert. |
|
IsNew | Indicates whether the alert already exists. |
|
IsRepairable | Indicates whether the alert is repairable. |
|
IsRepairDefined | Indicates whether a repair action is defined for the alert. |
|
IsSuppressed | Indicates whether the alert is suppressed. |
|
IsSystem | Indicates whether an alert is a system alert. |
|
Key | Gets the unique identifier that represents the alert. |
|
MachineId | Gets the identifier for the computer on which the alert was raised. |
|
MachineName | Gets the name of the computer on which the alert is raised. |
|
RepairActionPerformed | Gets the information about the repair action for the health definition. |
|
Severity | Gets the health status of the alert. |
|
SupportLink | Gets the support link of the alert. |
|
Troubleshooter | Gets the object that allows a troubleshooting task to be launched from Alert Viewer. |
|
TroubleshootSteps | Gets the troubleshooting steps of the alert. |
Methods
Name | Description | |
---|---|---|
Clear() | Removes the alert from the network. |
|
ClearAsync() | Asynchronously removes the alert from the network. |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
RepairAsync() | Asynchronously repairs the alert on the local computer. |
|
Suppress(Boolean) | Specifies whether the alert is suppressed. |
|
SuppressAsync(Boolean) | Specifies whether the alert is suppressed. |
|
ToString() | Returns a String object that represents the current Alert object.(Overrides Object.ToString().) |
Events
Name | Description | |
---|---|---|
ClearCompleted | Represents an event that occurs when the ClearAsync method finishes. |
|
PropertyChanged | Represents an event that occurs when a property is changed. |
|
RepairCompleted | Represents an event that occurs when the RepairAsync finishes. |
|
SuppressCompleted | Represents an event that occurs when the SuppressAsync method finishes. |
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.WindowsServerSolutions.NetworkHealth.AlertFramework Namespace
Return to top