# OrleansTransactionAbortedException Constructors

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

## OrleansTransactionAbortedException(string, Exception) {#constructor-string-system-exception-0d1f6ab3}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleans.transactions.orleanstransactionabortedexception/constructors/constructor-string-system-exception-0d1f6ab3/)

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

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

### Parameters

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

## OrleansTransactionAbortedException(string, string) {#constructor-string-string-8d632561}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleans.transactions.orleanstransactionabortedexception/constructors/constructor-string-string-8d632561/)

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

```csharp
public OrleansTransactionAbortedException(string transactionId, string msg)
```

### Parameters

- `transactionId` (`string`)
- `msg` (`string`)

## OrleansTransactionAbortedException(string, string, Exception) {#constructor-string-string-system-exception-54fe9d4b}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleans.transactions.orleanstransactionabortedexception/constructors/constructor-string-string-system-exception-54fe9d4b/)

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

```csharp
public OrleansTransactionAbortedException(string transactionId, string msg, Exception innerException)
```

### Parameters

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