# TransactionManagerExtension.Prepared(string, Guid, DateTime, ParticipantId, TransactionalStatus, CancellationToken)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleans.transactions.transactionmanagerextension/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleans.transactions.transactionmanagerextension/methods/)

[Source](https://github.com/dotnet/orleans/blob/1644940b035c7bdf215a4fd7135757c06bcfe9ec/src/Orleans.Transactions/DistributedTM/TransactionManagerExtension.cs#L63)

```csharp
public Task Prepared(string resourceId, Guid transactionId, DateTime timestamp, ParticipantId resource, TransactionalStatus status, CancellationToken cancellationToken)
```

Reports the result of preparing a participant to the specified transaction manager.

### Parameters

- `resourceId` (`string`): The identifier of the transaction manager resource.
- `transactionId` (`Guid`): The transaction identifier.
- `timestamp` (`DateTime`): The transaction commit timestamp.
- `resource` (`ParticipantId`): The participant reporting its prepare result.
- `status` (`TransactionalStatus`): The participant's prepare result.
- `cancellationToken` (`CancellationToken`): The token used to cancel the operation.

### Returns

A task which represents the one-way operation.
