# JournalEntryScope Methods

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.journaling.journalentryscope/)

## Commit {#commit-19dd443b}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.journaling.journalentryscope/methods/commit-19dd443b/)

[Source](https://github.com/dotnet/orleans/blob/6a0e937f544c35ffcf11b37e4c2b7de5a1580a03/src/Orleans.Durable/Journaling/JournalEntryScope.cs#L37-L53)

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

Commits the pending entry, making it visible to storage.

### Exceptions

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

## Dispose {#dispose-020dbb05}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.journaling.journalentryscope/methods/dispose-020dbb05/)

[Source](https://github.com/dotnet/orleans/blob/6a0e937f544c35ffcf11b37e4c2b7de5a1580a03/src/Orleans.Durable/Journaling/JournalEntryScope.cs#L60-L70)

```csharp
public void Dispose()
```

Aborts the pending entry if it has not been committed.
