# LimitExceededException Constructors

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.limitexceededexception/)

## LimitExceededException {#constructor-021f5bc3}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.limitexceededexception/constructors/constructor-021f5bc3/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core.Abstractions/Exceptions/LimitExceededException.cs#L22-L24)

```csharp
public LimitExceededException()
```

Initializes a new instance of the [LimitExceededException](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.limitexceededexception/) class.

## LimitExceededException(string, int, int, object) {#constructor-string-int-int-object-e8ea1c15}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.limitexceededexception/constructors/constructor-string-int-int-object-e8ea1c15/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core.Abstractions/Exceptions/LimitExceededException.cs#L67-L69)

```csharp
public LimitExceededException(string limitName, int current, int threshold, object extraInfo)
```

Initializes a new instance of the [LimitExceededException](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.limitexceededexception/) class.

### Parameters

- `limitName` (`string`): The limit name.
- `current` (`int`): The current value.
- `threshold` (`int`): The threshold value.
- `extraInfo` (`object`): Extra, descriptive information.

## LimitExceededException(string) {#constructor-string-854e3069}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.limitexceededexception/constructors/constructor-string-854e3069/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core.Abstractions/Exceptions/LimitExceededException.cs#L33-L35)

```csharp
public LimitExceededException(string message)
```

Initializes a new instance of the [LimitExceededException](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.limitexceededexception/) class.

### Parameters

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

## LimitExceededException(string, Exception) {#constructor-string-system-exception-7ab63c53}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.limitexceededexception/constructors/constructor-string-system-exception-7ab63c53/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core.Abstractions/Exceptions/LimitExceededException.cs#L47-L49)

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

Initializes a new instance of the [LimitExceededException](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.limitexceededexception/) class.

### Parameters

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