BayesFilterSaveDatabaseAsync Method (String, String)
async/await version of SaveDatabase(String, String).

Namespace: MailBee.AntiSpam
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public Task SaveDatabaseAsync(
	string spamFilename,
	string nonSpamFilename
)

Parameters

spamFilename
Type: SystemString
The full or relative path to the file containing spam samples.
nonSpamFilename
Type: SystemString
The full or relative path to the file containing non-spam samples.

Return Value

Type: Task
A task that represents the asynchronous operation.
Exceptions
ExceptionCondition
MailBeeInvalidArgumentExceptionspamFilename or nonSpamFilename is an empty string or a null reference (Nothing in Visual Basic).
MailBeeIOExceptionAn I/O error occurred.
See Also