# ClusteringConformanceException

Package: [Microsoft.Orleans.Clustering.TestKit](/orleans/docs/api/csharp/microsoft.orleans.clustering.testkit/) 10.0.0

[Source](https://github.com/dotnet/orleans/blob/8bc9fd244427351ad24ccc039a9e7642a42c1cc4/src/Orleans.Clustering.TestKit/ClusteringTestKitDiagnostics.cs#L4)

```csharp
public sealed class ClusteringConformanceException : Exception
```

An unconditional membership contract violation, independent of any test framework.

## Constructors

- [ClusteringConformanceException(string)](/orleans/docs/api/csharp/microsoft.orleans.clustering.testkit/orleans.clustering.testkit.clusteringconformanceexception/constructors/constructor-string-ce0e0907/)
- [ClusteringConformanceException(string, Exception)](/orleans/docs/api/csharp/microsoft.orleans.clustering.testkit/orleans.clustering.testkit.clusteringconformanceexception/constructors/constructor-string-system-exception-726c074d/)
