ProcessorSaveToStreamAsync Method |
Namespace: MailBee.HtmlAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public Task<bool> SaveToStreamAsync(
Stream outputStream,
Encoding enc
)
Public Function SaveToStreamAsync (
outputStream As Stream,
enc As Encoding
) As Task(Of Boolean)
Parameters
- outputStream
- Type: System.IOStream
The stream where the HTML markup should be saved to. - enc
- Type: System.TextEncoding
The encoding to use for encoding the HTML data from string into bytes.
If a null reference (Nothing in Visual Basic), UTF-8 encoding will be used.
Return Value
Type:
TaskBooleanA task that represents the asynchronous operation. The value of
TResult parameter is
true if the entire data was successfully encoded and saved into the stream; otherwise,
false.
Exceptions See Also