|  | IMime | 
 Syntax
Syntaxvoid WriteTo( FormatOptions options, Stream stream, CancellationToken cancellationToken = default )
 Exceptions
Exceptions| Exception | Condition | 
|---|---|
| ArgumentNullException | options is . -or- stream is . | 
| ObjectDisposedException | The IMimeEntity has been disposed. | 
| OperationCanceledException | The operation was canceled via the cancellation token. | 
| IOException | An I/O error occurred. | 
 Remarks
RemarksWrites the headers to the output stream, followed by a blank line.
Subclasses should override this method to write the content of the entity.
 See Also
See Also