# IVoiceHealthCheck

> Tracon documentation. Tracon is a .NET package family that adds a control
> plane on Microsoft Agent Framework, published as NuGet packages that run
> inside your own ASP.NET Core application.
>
> Page: https://tracon.dev/api/tracon.ivoicehealthcheck/
> Summary: IVoiceHealthCheck: Checks the voice provider's reachability.

<div class="api-provenance">Namespace Tracon · Assembly <code>Tracon.Abstractions.dll</code></div>

Checks the voice provider's reachability.

```csharp
public interface IVoiceHealthCheck
```

## Remarks

**DI lifetime — singleton.** Registered as a singleton with
`TryAdd`; a consumer's own registration wins.

**Tenant behavior — TENANT-INDEPENDENT.** The check reads the
default synthesizer with its configured credential: it is a platform check, not a
tenant's call, and sends no tenant data.

## Methods

### <a id="Tracon_IVoiceHealthCheck_CheckHealthAsync_System_Threading_CancellationToken_"></a> CheckHealthAsync\(CancellationToken\)

Checks access to the provider.

```csharp
ValueTask<VoiceHealth> CheckHealthAsync(CancellationToken cancellationToken = default)
```

#### Parameters

`cancellationToken` [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken)

The cancellation token.

#### Returns

 [ValueTask](https://learn.microsoft.com/dotnet/api/system.threading.tasks.valuetask\-1)<[VoiceHealth](/api/tracon.voicehealth/)\>

The status.

#### Remarks

The check **produces no charge**: no audio is generated, only the list is read.
