MailMessageSerializeAsync Method (String) |
Namespace: MailBee.MimeAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public Task<bool> SerializeAsync(
string filename
)
Public Function SerializeAsync (
filename As String
) As Task(Of Boolean)
Parameters
- filename
- Type: SystemString
The path to the .XML file to be saved.
Return Value
Type:
TaskBooleanA task that represents the asynchronous operation.
The value of
TResult parameter is
true if the message was successfully saved to .XML file; otherwise,
false.
Exceptions See Also