# GrainTimerCreationOptions Constructors

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.graintimercreationoptions/)

## GrainTimerCreationOptions {#constructor-93301f25}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.graintimercreationoptions/constructors/constructor-93301f25/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core.Abstractions/Timers/GrainTimerCreationOptions.cs#L26-L30)

```csharp
public GrainTimerCreationOptions()
```

Options for creating grain timers.

## GrainTimerCreationOptions(TimeSpan, TimeSpan) {#constructor-system-timespan-system-timespan-69dad001}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.graintimercreationoptions/constructors/constructor-system-timespan-system-timespan-69dad001/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core.Abstractions/Timers/GrainTimerCreationOptions.cs#L26-L30)

```csharp
public GrainTimerCreationOptions(TimeSpan dueTime, TimeSpan period)
```

Initializes a new [GrainTimerCreationOptions](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.graintimercreationoptions/) instance.

### Parameters

- `dueTime` (`TimeSpan`): A `System.TimeSpan` representing the amount of time to delay before invoking the callback method specified when the [IGrainTimer](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.igraintimer/) was constructed. Specify `System.Threading.Timeout.InfiniteTimeSpan` to prevent the timer from starting. Specify `System.TimeSpan.Zero` to start the timer immediately.
- `period` (`TimeSpan`): The time interval between invocations of the callback method specified when the [IGrainTimer](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.igraintimer/) was constructed. Specify `System.Threading.Timeout.InfiniteTimeSpan` to disable periodic signaling.
