次の方法で共有


CommonHealthChecksExtensions.AddTelemetryHealthCheckPublisher メソッド

定義

オーバーロード

AddTelemetryHealthCheckPublisher(IServiceCollection)

アプリケーションの正常性を表すテレメトリを出力する正常性チェックパブリッシャーを登録します。

AddTelemetryHealthCheckPublisher(IServiceCollection, IConfigurationSection)

アプリケーションの正常性を表すテレメトリを出力する正常性チェックパブリッシャーを登録します。

AddTelemetryHealthCheckPublisher(IServiceCollection, Action<TelemetryHealthCheckPublisherOptions>)

アプリケーションの正常性を表すテレメトリを出力する正常性チェックパブリッシャーを登録します。

AddTelemetryHealthCheckPublisher(IServiceCollection)

ソース:
CommonHealthChecksExtensions.TelemetryPublisher.cs
ソース:
CommonHealthChecksExtensions.TelemetryPublisher.cs

アプリケーションの正常性を表すテレメトリを出力する正常性チェックパブリッシャーを登録します。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ AddTelemetryHealthCheckPublisher(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services);
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddTelemetryHealthCheckPublisher (this Microsoft.Extensions.DependencyInjection.IServiceCollection services);
static member AddTelemetryHealthCheckPublisher : Microsoft.Extensions.DependencyInjection.IServiceCollection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddTelemetryHealthCheckPublisher (services As IServiceCollection) As IServiceCollection

パラメーター

services
IServiceCollection

パブリッシャーを追加する依存関係挿入コンテナー。

戻り値

services の値。

例外

servicesnull です。

適用対象

AddTelemetryHealthCheckPublisher(IServiceCollection, IConfigurationSection)

ソース:
CommonHealthChecksExtensions.TelemetryPublisher.cs
ソース:
CommonHealthChecksExtensions.TelemetryPublisher.cs

アプリケーションの正常性を表すテレメトリを出力する正常性チェックパブリッシャーを登録します。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ AddTelemetryHealthCheckPublisher(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services, Microsoft::Extensions::Configuration::IConfigurationSection ^ section);
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddTelemetryHealthCheckPublisher (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Microsoft.Extensions.Configuration.IConfigurationSection section);
static member AddTelemetryHealthCheckPublisher : Microsoft.Extensions.DependencyInjection.IServiceCollection * Microsoft.Extensions.Configuration.IConfigurationSection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddTelemetryHealthCheckPublisher (services As IServiceCollection, section As IConfigurationSection) As IServiceCollection

パラメーター

services
IServiceCollection

パブリッシャーを追加する依存関係挿入コンテナー。

戻り値

services の値。

例外

services または sectionnull です。

適用対象

AddTelemetryHealthCheckPublisher(IServiceCollection, Action<TelemetryHealthCheckPublisherOptions>)

ソース:
CommonHealthChecksExtensions.TelemetryPublisher.cs
ソース:
CommonHealthChecksExtensions.TelemetryPublisher.cs

アプリケーションの正常性を表すテレメトリを出力する正常性チェックパブリッシャーを登録します。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ AddTelemetryHealthCheckPublisher(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services, Action<Microsoft::Extensions::Diagnostics::HealthChecks::TelemetryHealthCheckPublisherOptions ^> ^ configure);
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddTelemetryHealthCheckPublisher (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<Microsoft.Extensions.Diagnostics.HealthChecks.TelemetryHealthCheckPublisherOptions> configure);
static member AddTelemetryHealthCheckPublisher : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<Microsoft.Extensions.Diagnostics.HealthChecks.TelemetryHealthCheckPublisherOptions> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddTelemetryHealthCheckPublisher (services As IServiceCollection, configure As Action(Of TelemetryHealthCheckPublisherOptions)) As IServiceCollection

パラメーター

services
IServiceCollection

パブリッシャーを追加する依存関係挿入コンテナー。

戻り値

services の値。

例外

services または configurenull です。

適用対象