# SimpleAzureStorageException Constructors

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleans.transactions.testkit.simpleazurestorageexception/)

## SimpleAzureStorageException(int, string) {#constructor-int-string-0968a3cc}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleans.transactions.testkit.simpleazurestorageexception/constructors/constructor-int-string-0968a3cc/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Transactions.TestKit.Base/FaultInjection/ControlledInjection/SimpleAzureStorageExceptionInjector.cs#L74-L76)

```csharp
public SimpleAzureStorageException(int status, string message)
```

### Parameters

- `status` (`int`)
- `message` (`string`)

## SimpleAzureStorageException(int, string, Exception) {#constructor-int-string-system-exception-bbc6f56a}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleans.transactions.testkit.simpleazurestorageexception/constructors/constructor-int-string-system-exception-bbc6f56a/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Transactions.TestKit.Base/FaultInjection/ControlledInjection/SimpleAzureStorageExceptionInjector.cs#L78-L80)

```csharp
public SimpleAzureStorageException(int status, string message, Exception innerException)
```

### Parameters

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

## SimpleAzureStorageException(int, string, string, Exception) {#constructor-int-string-string-system-exception-bfa10c24}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleans.transactions.testkit.simpleazurestorageexception/constructors/constructor-int-string-string-system-exception-bfa10c24/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Transactions.TestKit.Base/FaultInjection/ControlledInjection/SimpleAzureStorageExceptionInjector.cs#L82-L84)

```csharp
public SimpleAzureStorageException(int status, string message, string errorCode, Exception innerException)
```

### Parameters

- `status` (`int`)
- `message` (`string`)
- `errorCode` (`string`)
- `innerException` (`Exception`)

## SimpleAzureStorageException(string) {#constructor-string-0ac9a4ab}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleans.transactions.testkit.simpleazurestorageexception/constructors/constructor-string-0ac9a4ab/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Transactions.TestKit.Base/FaultInjection/ControlledInjection/SimpleAzureStorageExceptionInjector.cs#L66-L68)

```csharp
public SimpleAzureStorageException(string message)
```

### Parameters

- `message` (`string`)

## SimpleAzureStorageException(string, Exception) {#constructor-string-system-exception-573c69b1}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleans.transactions.testkit.simpleazurestorageexception/constructors/constructor-string-system-exception-573c69b1/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Transactions.TestKit.Base/FaultInjection/ControlledInjection/SimpleAzureStorageExceptionInjector.cs#L70-L72)

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

### Parameters

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