Table of Contents

GetHealthCheckTargetAsync Method

Definition

GetHealthCheckTargetAsync(CancellationToken)

Asynchronously gets the underlying target used for probing health status.

Task<T> GetHealthCheckTargetAsync(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

A CancellationToken that can be used to cancel the asynchronous operation.

Returns

Task<T>

A task that represents the asynchronous operation. The task result contains the target instance of type T used for health probing.