Mime |
public static Task<MimeMessage> LoadAsync( ParserOptions options, Stream stream, CancellationToken cancellationToken = default )
Exception | Condition |
---|---|
ArgumentNullException | options is null. -or- stream is null. |
OperationCanceledException | The operation was canceled via the cancellation token. |
FormatException | There was an error parsing the entity. |
IOException | An I/O error occurred. |