다음을 통해 공유


IHealthCheckPublisher.PublishAsync(HealthReport, CancellationToken) 메서드

정의

제공된 report를 게시합니다.

public:
 System::Threading::Tasks::Task ^ PublishAsync(Microsoft::Extensions::Diagnostics::HealthChecks::HealthReport ^ report, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task PublishAsync (Microsoft.Extensions.Diagnostics.HealthChecks.HealthReport report, System.Threading.CancellationToken cancellationToken);
abstract member PublishAsync : Microsoft.Extensions.Diagnostics.HealthChecks.HealthReport * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function PublishAsync (report As HealthReport, cancellationToken As CancellationToken) As Task

매개 변수

report
HealthReport

HealthReport 상태 검사 세트의 실행 결과입니다.

반환

게시가 완료되면 완료될 Task입니다.

예외

취소 토큰이 취소되었습니다. 이 예외는 반환된 작업에 저장됩니다.

적용 대상