# RemoteCommitService Methods

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

## Fail(Guid, string) {#fail-system-guid-string-63bb9605}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleans.transactions.testkit.remotecommitservice/methods/fail-system-guid-string-63bb9605/)

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

```csharp
public Task<bool> Fail(Guid transactionId, string data)
```

### Parameters

- `transactionId` (`Guid`)
- `data` (`string`)

## Pass(Guid, string) {#pass-system-guid-string-7db743d2}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleans.transactions.testkit.remotecommitservice/methods/pass-system-guid-string-7db743d2/)

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

```csharp
public Task<bool> Pass(Guid transactionId, string data)
```

### Parameters

- `transactionId` (`Guid`)
- `data` (`string`)

## Throw(Guid, string) {#throw-system-guid-string-c89d2f3f}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleans.transactions.testkit.remotecommitservice/methods/throw-system-guid-string-c89d2f3f/)

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

```csharp
public Task<bool> Throw(Guid transactionId, string data)
```

### Parameters

- `transactionId` (`Guid`)
- `data` (`string`)
