OlmStorage.OlmStorage

OlmStorage(TraversalExceptionsCallback)

Initializes a new instance of the OlmStorage class. Allows setting a callback method for handling exceptions that occur during OLM storage traversal.

public OlmStorage(TraversalExceptionsCallback callback)
ParameterTypeDescription
callbackTraversalExceptionsCallbackThe exception callback.

See Also


OlmStorage(string)

Initializes a new instance of the OlmStorage class.

public OlmStorage(string fileName)
ParameterTypeDescription
fileNameStringOLM file name.

Return Value

Returns an OlmStorage instance which is loaded from the specified file.

Exceptions

exceptioncondition
ArgumentNullExceptionthrows if file name is null or empty

See Also


OlmStorage(Stream)

Initializes a new instance of the OlmStorage class.

public OlmStorage(Stream stream)
ParameterTypeDescription
streamStreamSource stream Stream with OLM storage data.

Return Value

Returns an OlmStorage instance which is loaded from the specified stream.

Exceptions

exceptioncondition
ArgumentNullExceptionthrows if stream is null

See Also