# GrainService.StartInBackground

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.grainservice/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.grainservice/methods/)

[Source](https://github.com/dotnet/orleans/blob/b7a9e3e1c9c54b3cec3a467c5734bf7744541bcf/src/Orleans.Runtime/Services/GrainService.cs#L106-L107)

```csharp
protected virtual Task StartInBackground()
```

Deferred part of initialization that executes after the service is already started (to speed up startup). Sets Status to Started.

### Returns

A `System.Threading.Tasks.Task` representing the work performed.
