# ThrowOperation Methods

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleans.transactions.testkit.throwoperation/)

## Commit(Guid, IRemoteCommitService) {#commit-system-guid-orleans-transactions-testkit-iremotecommitservice-b14ff184}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleans.transactions.testkit.throwoperation/methods/commit-system-guid-orleans-transactions-testkit-iremotecommitservice-b14ff184/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Transactions.TestKit.Base/Grains/RemoteCommitService.cs#L117-L118)

```csharp
public Task<bool> Commit(Guid transactionId, IRemoteCommitService service)
```

### Parameters

- `transactionId` (`Guid`)
- `service` (`IRemoteCommitService`)
