IStatelessServicePartition.ReportInstanceHealth 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
ReportInstanceHealth(HealthInformation) |
Reports health information on the current stateless service instance of the partition. |
ReportInstanceHealth(HealthInformation, HealthReportSendOptions) |
Reports health information on the current stateless service instance of the partition. |
ReportInstanceHealth(HealthInformation)
Reports health information on the current stateless service instance of the partition.
public void ReportInstanceHealth (System.Fabric.Health.HealthInformation healthInfo);
abstract member ReportInstanceHealth : System.Fabric.Health.HealthInformation -> unit
Public Sub ReportInstanceHealth (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. If the report has high priority, you can specify send options to send it immediately by using ReportInstanceHealth(HealthInformation, HealthReportSendOptions).
Read more about health reporting.
Applies to
ReportInstanceHealth(HealthInformation, HealthReportSendOptions)
Reports health information on the current stateless service instance of the partition.
public void ReportInstanceHealth (System.Fabric.Health.HealthInformation healthInfo, System.Fabric.Health.HealthReportSendOptions sendOptions);
abstract member ReportInstanceHealth : System.Fabric.Health.HealthInformation * System.Fabric.Health.HealthReportSendOptions -> unit
Public Sub ReportInstanceHealth (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. 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
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기