IStatefulServicePartition.ReportReplicaHealth Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ReportReplicaHealth(HealthInformation) |
Reports health on the current stateful service replica of the partition. |
ReportReplicaHealth(HealthInformation, HealthReportSendOptions) |
Reports health on the current stateful service replica of the partition. |
ReportReplicaHealth(HealthInformation)
Reports health on the current stateful service replica of the partition.
public void ReportReplicaHealth (System.Fabric.Health.HealthInformation healthInfo);
abstract member ReportReplicaHealth : System.Fabric.Health.HealthInformation -> unit
Public Sub ReportReplicaHealth (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 ReportReplicaHealth(HealthInformation, HealthReportSendOptions).
Read more about health reporting.
Applies to
ReportReplicaHealth(HealthInformation, HealthReportSendOptions)
Reports health on the current stateful service replica of the partition.
public void ReportReplicaHealth (System.Fabric.Health.HealthInformation healthInfo, System.Fabric.Health.HealthReportSendOptions sendOptions);
abstract member ReportReplicaHealth : System.Fabric.Health.HealthInformation * System.Fabric.Health.HealthReportSendOptions -> unit
Public Sub ReportReplicaHealth (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 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. Internally, 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.