# RedisStreamingException Constructors

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming.redis/orleans.streaming.redis.redisstreamingexception/)

## RedisStreamingException {#constructor-4f0de961}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming.redis/orleans.streaming.redis.redisstreamingexception/constructors/constructor-4f0de961/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Redis/Orleans.Streaming.Redis/Streams/RedisStreamingException.cs#L14-L16)

```csharp
public RedisStreamingException()
```

Initializes a new instance of [RedisStreamingException](/orleans/docs/api/csharp/microsoft.orleans.streaming.redis/orleans.streaming.redis.redisstreamingexception/).

## RedisStreamingException(string) {#constructor-string-057db653}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming.redis/orleans.streaming.redis.redisstreamingexception/constructors/constructor-string-057db653/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Redis/Orleans.Streaming.Redis/Streams/RedisStreamingException.cs#L23-L25)

```csharp
public RedisStreamingException(string message)
```

Initializes a new instance of [RedisStreamingException](/orleans/docs/api/csharp/microsoft.orleans.streaming.redis/orleans.streaming.redis.redisstreamingexception/).

### Parameters

- `message` (`string`): The error message that explains the reason for the exception.

## RedisStreamingException(string, Exception) {#constructor-string-system-exception-d6116780}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming.redis/orleans.streaming.redis.redisstreamingexception/constructors/constructor-string-system-exception-d6116780/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Redis/Orleans.Streaming.Redis/Streams/RedisStreamingException.cs#L33-L35)

```csharp
public RedisStreamingException(string message, Exception inner)
```

Initializes a new instance of [RedisStreamingException](/orleans/docs/api/csharp/microsoft.orleans.streaming.redis/orleans.streaming.redis.redisstreamingexception/).

### Parameters

- `message` (`string`): The error message that explains the reason for the exception.
- `inner` (`Exception`): The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
