# TransactionInfo Constructors

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

## TransactionInfo {#constructor-cdfc1b85}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleans.transactions.transactioninfo/constructors/constructor-cdfc1b85/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Transactions/DistributedTM/TransactionInfo.cs#L15-L66)

```csharp
public TransactionInfo()
```

## TransactionInfo(Guid, DateTime, DateTime, bool) {#constructor-system-guid-system-datetime-system-datetime-bool-8afa7639}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleans.transactions.transactioninfo/constructors/constructor-system-guid-system-datetime-system-datetime-bool-8afa7639/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Transactions/DistributedTM/TransactionInfo.cs#L21-L27)

```csharp
public TransactionInfo(Guid id, DateTime timeStamp, DateTime priority, bool readOnly = false)
```

### Parameters

- `id` (`Guid`)
- `timeStamp` (`DateTime`)
- `priority` (`DateTime`)
- `readOnly` (`bool`)

## TransactionInfo(TransactionInfo) {#constructor-orleans-transactions-transactioninfo-c16c8447}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleans.transactions.transactioninfo/constructors/constructor-orleans-transactions-transactioninfo-c16c8447/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Transactions/DistributedTM/TransactionInfo.cs#L33-L41)

```csharp
public TransactionInfo(TransactionInfo other)
```

Constructor used when TransactionInfo is transferred to a request

### Parameters

- `other` (`TransactionInfo`)
