# OrleansBrokenTransactionLockException Constructors

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleans.transactions.orleansbrokentransactionlockexception/)

## OrleansBrokenTransactionLockException(string, string) {#constructor-string-string-231f901e}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleans.transactions.orleansbrokentransactionlockexception/constructors/constructor-string-string-231f901e/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Transactions/OrleansTransactionException.cs#L268-L270)

```csharp
public OrleansBrokenTransactionLockException(string transactionId, string situation)
```

### Parameters

- `transactionId` (`string`)
- `situation` (`string`)

## OrleansBrokenTransactionLockException(string, string, Exception) {#constructor-string-string-system-exception-3378e868}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleans.transactions.orleansbrokentransactionlockexception/constructors/constructor-string-string-system-exception-3378e868/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Transactions/OrleansTransactionException.cs#L273-L275)

```csharp
public OrleansBrokenTransactionLockException(string transactionId, string situation, Exception innerException)
```

### Parameters

- `transactionId` (`string`)
- `situation` (`string`)
- `innerException` (`Exception`)
