ConverterAsync Class

ConverterAsync class

The .NET task adapter over Converter, outside the portable surface. Arguments and options are refused and the configuration copied before the task is scheduled; the conversion runs on a pool thread. Token cancellation ends the task as canceled, at the next checkpoint; Configuration.Cancellation faults it with ConversionCanceledException, and a limit faults it with ConversionException.

public static class ConverterAsync

Methods

NameDescription
static ConvertHTMLAsync(HtmlSource, SaveOptions, ICreateStreamProvider, CancellationToken)Converts source to the streams output creates, one per part.
static ConvertHTMLAsync(HtmlSource, SaveOptions, Stream, CancellationToken)Converts source to output, left open.
static ConvertHTMLAsync(HtmlSource, SaveOptions, string, CancellationToken)Converts source to the file outputPath.
static ConvertHTMLAsync(string, SaveOptions, string, CancellationToken)Converts the HTML file inputPath to the file outputPath.
static ConvertHTMLAsync(Stream, string, SaveOptions, Stream, CancellationToken)Converts the HTML bytes of input to output; both stay open.
static ConvertHTMLAsync(Stream, string, SaveOptions, string, CancellationToken)Converts the HTML bytes of input to the file outputPath.
static ConvertHTMLAsync(string, string, SaveOptions, Stream, CancellationToken)Converts the markup html to output, left open.
static ConvertHTMLAsync(string, string, SaveOptions, string, CancellationToken)Converts the markup html to the file outputPath.

See Also