共用方式為


HealthReport Class

Definition

Represents the base class for health report classes.

[System.Runtime.Serialization.KnownType(typeof(System.Fabric.Health.ApplicationHealthReport))]
[System.Runtime.Serialization.KnownType(typeof(System.Fabric.Health.ClusterHealthReport))]
[System.Runtime.Serialization.KnownType(typeof(System.Fabric.Health.NodeHealthReport))]
[System.Runtime.Serialization.KnownType(typeof(System.Fabric.Health.PartitionHealthReport))]
[System.Runtime.Serialization.KnownType(typeof(System.Fabric.Health.ServiceHealthReport))]
[System.Runtime.Serialization.KnownType(typeof(System.Fabric.Health.StatelessServiceInstanceHealthReport))]
[System.Runtime.Serialization.KnownType(typeof(System.Fabric.Health.StatefulServiceReplicaHealthReport))]
public abstract class HealthReport
[<System.Runtime.Serialization.KnownType(typeof(System.Fabric.Health.ApplicationHealthReport))>]
[<System.Runtime.Serialization.KnownType(typeof(System.Fabric.Health.ClusterHealthReport))>]
[<System.Runtime.Serialization.KnownType(typeof(System.Fabric.Health.NodeHealthReport))>]
[<System.Runtime.Serialization.KnownType(typeof(System.Fabric.Health.PartitionHealthReport))>]
[<System.Runtime.Serialization.KnownType(typeof(System.Fabric.Health.ServiceHealthReport))>]
[<System.Runtime.Serialization.KnownType(typeof(System.Fabric.Health.StatelessServiceInstanceHealthReport))>]
[<System.Runtime.Serialization.KnownType(typeof(System.Fabric.Health.StatefulServiceReplicaHealthReport))>]
type HealthReport = class
Public MustInherit Class HealthReport
Inheritance
HealthReport
Derived
Attributes

Remarks

Supported types of health reports are: �

The report can be sent to the health store using ReportHealth(HealthReport).

Constructors

HealthReport(HealthReportKind, HealthInformation)

Initializes a new instance of the HealthReport class.

Properties

HealthInformation

Gets the health information that describes common health fields.

Kind

Gets the kind of the health report.

Applies to