# JournalEntryScope.Commit

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

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Journaling/JournalEntryScope.cs#L36-L52)

```csharp
public void Commit()
```

Commits the pending entry, making it visible to storage.

### Exceptions

- `System.InvalidOperationException`: The entry has already completed.
