IServicePartition.ReportPartitionHealth Method

Definition

Overloads

ReportPartitionHealth(HealthInformation)

Reports current partition health.

ReportPartitionHealth(HealthInformation, HealthReportSendOptions)

Reports current partition health.

ReportPartitionHealth(HealthInformation)

Reports current partition health.

public void ReportPartitionHealth (System.Fabric.Health.HealthInformation healthInfo);
abstract member ReportPartitionHealth : System.Fabric.Health.HealthInformation -> unit
Public Sub ReportPartitionHealth (healthInfo As HealthInformation)

Parameters

healthInfo
HealthInformation

The HealthInformation that describes the health report information, such as source, property, and health state.

Exceptions

This indicates that the partition object is closed. The replica/replicator/instance has either been closed or is about to be closed.

Remarks

The health information describes the report details, like the source ID, the property, the health state and other relevant details. The partition uses an internal health client to send the reports to the health store. The client optimizes messages to Health Manager by batching reports per a configured duration (Default: 30 seconds). If the report has high priority, you can specify send options to send it immediately by using ReportPartitionHealth(HealthInformation, HealthReportSendOptions).

Read more about health reporting.

Applies to

ReportPartitionHealth(HealthInformation, HealthReportSendOptions)

Reports current partition health.

public void ReportPartitionHealth (System.Fabric.Health.HealthInformation healthInfo, System.Fabric.Health.HealthReportSendOptions sendOptions);
abstract member ReportPartitionHealth : System.Fabric.Health.HealthInformation * System.Fabric.Health.HealthReportSendOptions -> unit
Public Sub ReportPartitionHealth (healthInfo As HealthInformation, sendOptions As HealthReportSendOptions)

Parameters

healthInfo
HealthInformation

The HealthInformation that describes the health report information, such as source, property, and health state.

sendOptions
HealthReportSendOptions

The HealthReportSendOptions that controls how the partition report is sent.

Exceptions

This indicates that the partition object is closed. The replica/replicator/instance has either been closed or is about to be closed.

Remarks

The health information describes the report details, like the source ID, the property, the health state and other relevant details. The partition uses an internal health client to send the reports to the health store. The client optimizes messages to Health Manager by batching reports per a configured duration (Default: 30 seconds). If the report has high priority, you can specify send options to send it immediately.

Read more about health reporting.

Applies to