# JournalStreamWriter Methods

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

## BeginEntry {#beginentry-37d74d43}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.journaling/orleans.journaling.journalstreamwriter/methods/beginentry-37d74d43/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.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.journaling/orleans.journaling.journalentryscope/) is not called.
