# ProviderStateException Constructors

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.providers.providerstateexception/)

## ProviderStateException {#constructor-da83600b}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.providers.providerstateexception/constructors/constructor-da83600b/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core/Providers/ProviderStateManager.cs#L77-L78)

```csharp
public ProviderStateException()
```

## ProviderStateException(string) {#constructor-string-9f6d4b81}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.providers.providerstateexception/constructors/constructor-string-9f6d4b81/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core/Providers/ProviderStateManager.cs#L79)

```csharp
public ProviderStateException(string message)
```

### Parameters

- `message` (`string`)

## ProviderStateException(string, Exception) {#constructor-string-system-exception-f6a4b46b}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.providers.providerstateexception/constructors/constructor-string-system-exception-f6a4b46b/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core/Providers/ProviderStateManager.cs#L81)

```csharp
public ProviderStateException(string message, Exception innerException)
```

### Parameters

- `message` (`string`)
- `innerException` (`Exception`)
