# TransactionalState&lt;TState&gt;.Participate(IGrainLifecycle)

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

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Transactions/State/TransactionalState.cs#L179-L180)

```csharp
public void Participate(IGrainLifecycle lifecycle)
```

Adds the provided observer as a participant in the lifecycle.

### Parameters

- `lifecycle` (`IGrainLifecycle`): The observer.
