# OrleansOrphanCallException Constructors

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

## OrleansOrphanCallException(string, int) {#constructor-string-int-ec261efe}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleans.transactions.orleansorphancallexception/constructors/constructor-string-int-ec261efe/)

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

```csharp
public OrleansOrphanCallException(string transactionId, int pendingCalls)
```

### Parameters

- `transactionId` (`string`)
- `pendingCalls` (`int`)
