## SaveAsync(string, CancellationToken) {#saveasync_1}

Saves the specified file name asynchronously.

```csharp
public Task SaveAsync(string fileName, CancellationToken token = default)
```

| Parameter | Type | Description |
| --- | --- | --- |
| fileName | String | Name of the file. |
| token | CancellationToken | Propagates notification that operations should be canceled. |

### See Also

* class [MapiJournal](../)
* namespace [Aspose.Email.Mapi](../../mapijournal/)
* assembly [Aspose.Email](../../../)

---

## SaveAsync(Stream, CancellationToken) {#saveasync}

Saves the specified stream asynchronously.

```csharp
public Task SaveAsync(Stream stream, CancellationToken token = default)
```

| Parameter | Type | Description |
| --- | --- | --- |
| stream | Stream | The stream. |
| token | CancellationToken | Propagates notification that operations should be canceled. |

### See Also

* class [MapiJournal](../)
* namespace [Aspose.Email.Mapi](../../mapijournal/)
* assembly [Aspose.Email](../../../)


