SpamAnalyzer.LoadDatabase
LoadDatabase(string)
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
LoadDatabase(Stream)
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