LoadDatabase
SpamAnalyzer.LoadDatabase method (1 of 2)
Loads Bayesian database from file.
public void LoadDatabase(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
SpamAnalyzer.LoadDatabase method (2 of 2)
Loads Bayesian database from stream.
public void LoadDatabase(Stream stream)
Parameter |
Type |
Description |
stream |
Stream |
An input stream containing Bayesian database. |
Exceptions
exception |
condition |
ArgumentNullException |
If stream is null. |
See Also