# OrleansTransactionPrepareTimeoutException Constructors

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

## OrleansTransactionPrepareTimeoutException(string, Exception) {#constructor-string-system-exception-69f209af}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleans.transactions.orleanstransactionpreparetimeoutexception/constructors/constructor-string-system-exception-69f209af/)

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

```csharp
public OrleansTransactionPrepareTimeoutException(string transactionId, Exception innerException)
```

### Parameters

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