IMime |
void WriteTo( FormatOptions options, Stream stream, bool headersOnly, CancellationToken cancellationToken = default )
Exception | Condition |
---|---|
ArgumentNullException | options is null. -or- stream is null. |
OperationCanceledException | The operation was canceled via the cancellation token. |
IOException | An I/O error occurred. |