# ProviderInitializationException Constructors

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

## ProviderInitializationException {#constructor-9ba6ac79}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.providers.providerinitializationexception/constructors/constructor-9ba6ac79/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core/Providers/ProviderInitializationException.cs#L16-L17)

```csharp
public ProviderInitializationException()
```

Initializes a new instance of the [ProviderInitializationException](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.providers.providerinitializationexception/) class.

## ProviderInitializationException(string) {#constructor-string-04d5f51b}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.providers.providerinitializationexception/constructors/constructor-string-04d5f51b/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core/Providers/ProviderInitializationException.cs#L24-L26)

```csharp
public ProviderInitializationException(string message)
```

Initializes a new instance of the [ProviderInitializationException](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.providers.providerinitializationexception/) class.

### Parameters

- `message` (`string`): The message.

## ProviderInitializationException(string, Exception) {#constructor-string-system-exception-d70a8dc1}

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

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core/Providers/ProviderInitializationException.cs#L34-L36)

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

Initializes a new instance of the [ProviderInitializationException](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.providers.providerinitializationexception/) class.

### Parameters

- `message` (`string`): The message.
- `innerException` (`Exception`): The inner exception.
