# LifecycleEvent.LifecycleEvent(IGrainContext)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.diagnostics.grainlifecycleevents.lifecycleevent/) | [Constructors](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.diagnostics.grainlifecycleevents.lifecycleevent/constructors/)

[Source](https://github.com/dotnet/orleans/blob/b7a9e3e1c9c54b3cec3a467c5734bf7744541bcf/src/Orleans.Runtime/Diagnostics/GrainLifecycleEvents.cs#L30-L35)

```csharp
protected LifecycleEvent(IGrainContext grainContext)
```

The base class used for lifecycle diagnostic events.

### Parameters

- `grainContext` (`IGrainContext`)
