次の方法で共有


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
System_CAPS_pubproperty ActionPerformed

Gets the action for the alert that is performed when the alert is detected.

System_CAPS_pubproperty AdditionalInfo

Gets additional information about the alert.

System_CAPS_pubproperty DateAndTime

Gets the date and time when the alert was raised.

System_CAPS_pubproperty Description

Gets the description of the alert.

System_CAPS_pubproperty Escalate

Indicates whether the alert must be escalated to the administrator.

System_CAPS_pubproperty Expired

Indicates whether the alert is removed from the collection of alerts that is managed by the Alert Manager.

System_CAPS_pubproperty FeatureName

Gets the name of the feature that is associated with the alert.

System_CAPS_pubproperty FeatureTitle

Gets the title of the feature that is associated with the alert.

System_CAPS_pubproperty HealthDefinitionName

Gets the name of the health definition that is associated with the alert.

System_CAPS_pubproperty HealthDefinitionTitle

Gets the title of the health definition that is associated with the alert.

System_CAPS_pubproperty InstanceId

Gets the identifier of the alert.

System_CAPS_pubproperty IsNew

Indicates whether the alert already exists.

System_CAPS_pubproperty IsRepairable

Indicates whether the alert is repairable.

System_CAPS_pubproperty IsRepairDefined

Indicates whether a repair action is defined for the alert.

System_CAPS_pubproperty IsSuppressed

Indicates whether the alert is suppressed.

System_CAPS_pubproperty IsSystem

Indicates whether an alert is a system alert.

System_CAPS_pubproperty Key

Gets the unique identifier that represents the alert.

System_CAPS_pubproperty MachineId

Gets the identifier for the computer on which the alert was raised.

System_CAPS_pubproperty MachineName

Gets the name of the computer on which the alert is raised.

System_CAPS_pubproperty RepairActionPerformed

Gets the information about the repair action for the health definition.

System_CAPS_pubproperty Severity

Gets the health status of the alert.

System_CAPS_pubproperty SupportLink

Gets the support link of the alert.

System_CAPS_pubproperty Troubleshooter

Gets the object that allows a troubleshooting task to be launched from Alert Viewer.

System_CAPS_pubproperty TroubleshootSteps

Gets the troubleshooting steps of the alert.

Methods

Name Description
System_CAPS_pubmethod Clear()

Removes the alert from the network.

System_CAPS_pubmethod ClearAsync()

Asynchronously removes the alert from the network.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod RepairAsync()

Asynchronously repairs the alert on the local computer.

System_CAPS_pubmethod Suppress(Boolean)

Specifies whether the alert is suppressed.

System_CAPS_pubmethod SuppressAsync(Boolean)

Specifies whether the alert is suppressed.

System_CAPS_pubmethod ToString()

Returns a String object that represents the current Alert object.(Overrides Object.ToString().)

Events

Name Description
System_CAPS_pubevent ClearCompleted

Represents an event that occurs when the ClearAsync method finishes.

System_CAPS_pubevent PropertyChanged

Represents an event that occurs when a property is changed.

System_CAPS_pubevent RepairCompleted

Represents an event that occurs when the RepairAsync finishes.

System_CAPS_pubevent 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