MboxStorageReader.CreateReaderAsync
Contents
[
Hide
]CreateReaderAsync(string, MboxLoadOptions, CancellationToken)
Creates the instance of reader.
public static Task<MboxStorageReader> CreateReaderAsync(string fileName, MboxLoadOptions options,
CancellationToken token = default)
| Parameter | Type | Description |
|---|---|---|
| fileName | String | The full name of the file. |
| options | MboxLoadOptions | additional options when loading a Mbox storageMboxLoadOptions. |
| token | CancellationToken | Propagates notification that operations should be canceled. |
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException |
See Also
- class MboxLoadOptions
- class MboxStorageReader
- namespace Aspose.Email.Storage.Mbox
- assembly Aspose.Email
CreateReaderAsync(Stream, MboxLoadOptions, CancellationToken)
Creates the instance of reader.
public static Task<MboxStorageReader> CreateReaderAsync(Stream stream, MboxLoadOptions options,
CancellationToken token = default)
| Parameter | Type | Description |
|---|---|---|
| stream | Stream | The stream. |
| options | MboxLoadOptions | additional options when loading a Mbox storageMboxLoadOptions. |
| token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
A read MboxStorageReader
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException |
See Also
- class MboxLoadOptions
- class MboxStorageReader
- namespace Aspose.Email.Storage.Mbox
- assembly Aspose.Email