# Created Constructors

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.diagnostics.graintimerevents.created/)

## Created(IGrainContext, IGrainTimer, TimeSpan, TimeSpan) {#constructor-orleans-runtime-igraincontext-orleans-runtime-igraintimer-system-tim-2fe0f9d0}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.diagnostics.graintimerevents.created/constructors/constructor-orleans-runtime-igraincontext-orleans-runtime-igraintimer-system-tim-2fe0f9d0/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Runtime/Diagnostics/GrainTimerEvents.cs#L55-L65)

```csharp
public Created(IGrainContext grainContext, IGrainTimer timer, TimeSpan dueTime, TimeSpan period)
```

Event payload for when a grain timer is created.

### Parameters

- `grainContext` (`IGrainContext`): The grain context that owns the timer.
- `timer` (`IGrainTimer`): The timer instance.
- `dueTime` (`TimeSpan`): The initial due time of the timer.
- `period` (`TimeSpan`): The timer period.
