# JournalStreamWriter.BeginEntry

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

[Source](https://github.com/dotnet/orleans/blob/6a0e937f544c35ffcf11b37e4c2b7de5a1580a03/src/Orleans.Durable/Journaling/JournalStreamWriter.cs#L25)

```csharp
public JournalEntryScope BeginEntry()
```

Begins writing one journal entry for this writer's state.

### Returns

A lexical entry scope. Dispose the returned value to abort the entry if [JournalEntryScope](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.journaling.journalentryscope/) is not called.
