MboxStorageReader.CreateReader

CreateReader(string, MboxLoadOptions, CancellationToken)

Creates the instance of reader.

public static MboxStorageReader CreateReader(string fileName, MboxLoadOptions options, 
    CancellationToken token)
ParameterTypeDescription
fileNameStringThe full name of the file.
optionsMboxLoadOptionsadditional options when loading a Mbox storageMboxLoadOptions.
tokenCancellationTokenPropagates notification that operations should be canceled.

Exceptions

exceptioncondition
ArgumentNullException

See Also


CreateReader(Stream, MboxLoadOptions, CancellationToken)

Creates the instance of reader.

public static MboxStorageReader CreateReader(Stream stream, MboxLoadOptions options, 
    CancellationToken token)
ParameterTypeDescription
streamStreamThe stream.
optionsMboxLoadOptionsadditional options when loading a Mbox storageMboxLoadOptions.
tokenCancellationTokenPropagates notification that operations should be canceled.

Exceptions

exceptioncondition
ArgumentNullException

See Also


CreateReader(Stream, MboxLoadOptions)

Creates the instance of reader.

public static MboxStorageReader CreateReader(Stream stream, MboxLoadOptions options)
ParameterTypeDescription
streamStreamThe stream.
optionsMboxLoadOptionsadditional options when loading a Mbox storageMboxLoadOptions.

Exceptions

exceptioncondition
ArgumentNullException

See Also


CreateReader(string, MboxLoadOptions)

Creates the instance of reader.

public static MboxStorageReader CreateReader(string fileName, MboxLoadOptions options)
ParameterTypeDescription
fileNameString
optionsMboxLoadOptionsadditional options when loading a Mbox storageMboxLoadOptions.

Exceptions

exceptioncondition
ArgumentNullException

See Also