# FailOperation Constructors

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

## FailOperation(string) {#constructor-string-050e958c}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleans.transactions.testkit.failoperation/constructors/constructor-string-050e958c/)

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

```csharp
public FailOperation(string data)
```

### Parameters

- `data` (`string`)
