# TransactionAgentStatistics Methods

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

## Copy(ITransactionAgentStatistics) {#copy-orleans-transactions-abstractions-itransactionagentstatistics-ff5ffad3}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleans.transactions.transactionagentstatistics/methods/copy-orleans-transactions-abstractions-itransactionagentstatistics-ff5ffad3/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Transactions/DistributedTM/TransactionAgentStatistics.cs#L69)

```csharp
public static ITransactionAgentStatistics Copy(ITransactionAgentStatistics initialStatistics)
```

### Parameters

- `initialStatistics` (`ITransactionAgentStatistics`)

## TrackTransactionFailed {#tracktransactionfailed-c886c821}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleans.transactions.transactionagentstatistics/methods/tracktransactionfailed-c886c821/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Transactions/DistributedTM/TransactionAgentStatistics.cs#L59-L60)

```csharp
public void TrackTransactionFailed()
```

## TrackTransactionStarted {#tracktransactionstarted-5b326c7b}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleans.transactions.transactionagentstatistics/methods/tracktransactionstarted-5b326c7b/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Transactions/DistributedTM/TransactionAgentStatistics.cs#L49-L50)

```csharp
public void TrackTransactionStarted()
```

## TrackTransactionSucceeded {#tracktransactionsucceeded-4576455b}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleans.transactions.transactionagentstatistics/methods/tracktransactionsucceeded-4576455b/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Transactions/DistributedTM/TransactionAgentStatistics.cs#L54-L55)

```csharp
public void TrackTransactionSucceeded()
```

## TrackTransactionThrottled {#tracktransactionthrottled-e8bd1b92}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleans.transactions.transactionagentstatistics/methods/tracktransactionthrottled-e8bd1b92/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Transactions/DistributedTM/TransactionAgentStatistics.cs#L64-L65)

```csharp
public void TrackTransactionThrottled()
```
