SpamAnalyzer.LoadDatabase

LoadDatabase(string)

Loads Bayesian database from file.

public void LoadDatabase(string filePath)
ParameterTypeDescription
filePathStringThe full or relative path to the file containing Bayesian database.

Exceptions

exceptioncondition
ArgumentExceptionIf filePath is null or an empty string.

See Also


LoadDatabase(Stream)

Loads Bayesian database from stream.

public void LoadDatabase(Stream stream)
ParameterTypeDescription
streamStreamAn input stream containing Bayesian database.

Exceptions

exceptioncondition
ArgumentNullExceptionIf stream is null.

See Also