次の方法で共有


HealthIndicator クラス

定義

外部依存関係のない抽象化の IHealthIndicator 既定の実装を提供します。

public class HealthIndicator : Microsoft.WindowsAzure.Mobile.Service.Diagnostics.IHealthIndicator
type HealthIndicator = class
    interface IHealthIndicator
Public Class HealthIndicator
Implements IHealthIndicator
継承
HealthIndicator
実装

コンストラクター

HealthIndicator(HttpConfiguration)

指定configした を使用して のHealthIndicator新しいインスタンスを初期化します。

メソッド

GetHealthReport()

サービスの現在 HealthReport の を取得します。

SetHealthReport(HealthReport)

サービスの現在 HealthReport の を設定します。 新しい HealthReport は、サービスの現在の正常性を置き換えます。つまり、特定の時点でアクティブなもの HealthReport は 1 つだけです。

適用対象