# TestCluster.StopClusterClientAsync(CancellationToken)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.testcluster/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.testcluster/methods/)

[Source](https://github.com/dotnet/orleans/blob/1644940b035c7bdf215a4fd7135757c06bcfe9ec/src/Orleans.TestingHost/TestCluster.cs#L671)

```csharp
public Task StopClusterClientAsync(CancellationToken cancellationToken)
```

Stop cluster client as an asynchronous operation.

### Parameters

- `cancellationToken` (`CancellationToken`): The token used to cancel shutdown.

### Returns

A `System.Threading.Tasks.Task` representing the asynchronous operation.
