Condividi tramite


HealthInformation Class

 

Applies To: Azure, Windows 10, Windows 8, Windows 8.1, Windows Server 2012 R2

Represents common health report information. It is included in all health reports sent to health store and in all health events returned by health queries.

Namespace:   System.Fabric.Health
Assembly:  System.Fabric (in System.Fabric.dll)

Inheritance Hierarchy

System.Object
  System.Fabric.Health.HealthInformation

Syntax

public sealed class HealthInformation

Constructors

Name Description
System_CAPS_pubmethod HealthInformation(String, String, HealthState)

Initializes a new instance of the HealthInformation class.

Properties

Name Description
System_CAPS_pubproperty Description

Gets or sets the description of the health information. It represents free text used to add human readable information about the report.

System_CAPS_pubproperty HealthState

Gets the health state of the health information.

System_CAPS_pubproperty Property

Gets the property of the health report.

System_CAPS_pubproperty RemoveWhenExpired

Gets or sets a value that indicates whether the report is removed from health store when it expires. If set to false, the report is treated as an error when expired. false by default.

System_CAPS_pubproperty SequenceNumber

Gets or sets the sequence number associated with the report. Must be greater than UnknownSequenceNumber.

System_CAPS_pubproperty SourceId

Gets the source Identifier which identifies the watchdog/system component which generated the health information.

System_CAPS_pubproperty TimeToLive

Gets or sets how long the health report is valid. Must be larger than TimeSpan.Zero.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

Creates a string description of the health information. (Overrides Object.ToString().)

Fields

Name Description
System_CAPS_pubfieldSystem_CAPS_static AutoSequenceNumber

Auto sequence number, replaced with a valid sequence number by the health client.

System_CAPS_pubfieldSystem_CAPS_static UnknownSequenceNumber

Unknown sequence number, which is an invalid sequence number that is not accepted by the health store.

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

System.Fabric.Health Namespace

Return to top