你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
HealthIndicator 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
提供不带外部依赖项的 IHealthIndicator 抽象的默认实现。
public class HealthIndicator : Microsoft.WindowsAzure.Mobile.Service.Diagnostics.IHealthIndicator
type HealthIndicator = class
interface IHealthIndicator
Public Class HealthIndicator
Implements IHealthIndicator
- 继承
-
HealthIndicator
- 实现
构造函数
HealthIndicator(HttpConfiguration) |
使用给定 |
方法
GetHealthReport() |
获取服务的当前 HealthReport 值。 |
SetHealthReport(HealthReport) |
设置服务的当前 HealthReport 值。 新的 HealthReport 将替换服务的当前运行状况,即在任何给定时间只有一个活动 HealthReport 状态。 |