MapiAttachment.SaveAsync
SaveAsync(string, CancellationToken)
Save attachment content asynchronously.
public Task SaveAsync(string filename, CancellationToken token = default)
| Parameter | Type | Description |
|---|---|---|
| filename | String | The file name to save. |
| token | CancellationToken | Propagates notification that operations should be canceled. |
See Also
- class MapiAttachment
- namespace Aspose.Email.Mapi
- assembly Aspose.Email
SaveAsync(Stream, CancellationToken)
Save attachment content asynchronously.
public Task SaveAsync(Stream stream, CancellationToken token = default)
| Parameter | Type | Description |
|---|---|---|
| stream | Stream | The stream to save. |
| token | CancellationToken | Propagates notification that operations should be canceled. |
See Also
- class MapiAttachment
- namespace Aspose.Email.Mapi
- assembly Aspose.Email