SpamAnalyzer.SaveDatabase
SaveDatabase(string)
Saves the Bayesian database to file.
public void SaveDatabase(string filePath)
Parameter | Type | Description |
---|---|---|
filePath | String | The full or relative path to the file containing Bayesian database. |
Exceptions
exception | condition |
---|---|
ArgumentException | If filePath is null or an empty string. |
See Also
- class SpamAnalyzer
- namespace Aspose.Email.AntiSpam
- assembly Aspose.Email
SaveDatabase(Stream)
Saves the Bayesian database to stream.
public void SaveDatabase(Stream stream)
Parameter | Type | Description |
---|---|---|
stream | Stream | An output stream containing Bayesian database. |
Exceptions
exception | condition |
---|---|
ArgumentNullException | If stream is null. |
See Also
- class SpamAnalyzer
- namespace Aspose.Email.AntiSpam
- assembly Aspose.Email