MapiJournal.Load

Load(string)

Loads a MapiJournal from the specified file.

public static MapiJournal Load(string filePath)
ParameterTypeDescription
filePathStringThe path to the file to be loaded.

Return Value

Returns a MapiJournal instance loaded from the specified file.

Exceptions

exceptioncondition
ArgumentExceptionfilePath is null or empty.
FileNotFoundExceptionThe specified file does not exist.
InvalidOperationExceptionThe file does not contain a journal item.

See Also


Load(Stream)

Loads a MapiJournal from the specified stream.

public static MapiJournal Load(Stream stream)
ParameterTypeDescription
streamStreamThe stream to be loaded.

Return Value

Returns a MapiJournal instance loaded from the specified stream.

Exceptions

exceptioncondition
ArgumentNullExceptionstream is null.
NotSupportedExceptionstream does not support reading.
InvalidOperationExceptionThe stream does not contain a journal item.

See Also