# TransactionRequest&lt;TResult&gt; Constructors

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleans.transactionrequest-1/)

## TransactionRequest&lt;TResult&gt;(Serializer&lt;OrleansTransactionAbortedException&gt;, IServiceProvider) {#constructor-orleans-serialization-serializer-orleans-transactions-orleanstransac-eef32f69}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleans.transactionrequest-1/constructors/constructor-orleans-serialization-serializer-orleans-transactions-orleanstransac-eef32f69/)

[Source](https://github.com/dotnet/orleans/blob/b7a9e3e1c9c54b3cec3a467c5734bf7744541bcf/src/Orleans.Transactions/TransactionAttribute.cs#L395-L397)

```csharp
protected TransactionRequest(Serializer<OrleansTransactionAbortedException> exceptionSerializer, IServiceProvider serviceProvider)
```

### Parameters

- `exceptionSerializer` (`Serializer<OrleansTransactionAbortedException>`)
- `serviceProvider` (`IServiceProvider`)
