Mime |
public Task WriteToAsync( Stream stream, CancellationToken cancellationToken = default )
Exception | Condition |
---|---|
ArgumentNullException | stream is null. |
ObjectDisposedException | The MimeEntity has been disposed. |
OperationCanceledException | The operation was canceled via the cancellation token. |
IOException | An I/O error occurred. |