# FailOperation

Package: [Microsoft.Orleans.Transactions.TestKit.Base](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.Transactions.TestKit.Base) | [Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Transactions.TestKit.Base/Grains/RemoteCommitService.cs#L87)

```csharp
[Orleans.GenerateSerializer]
public class FailOperation : ITransactionCommitOperation<IRemoteCommitService>
```

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

## Constructors

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

## Properties

- [Data](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleans.transactions.testkit.failoperation/properties/data-abebb1ce/)

## Methods

- [Commit(Guid, IRemoteCommitService)](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleans.transactions.testkit.failoperation/methods/commit-system-guid-orleans-transactions-testkit-iremotecommitservice-f26fe342/)
