MboxStorageReader.SplitIntoAsync

SplitIntoAsync(long, string, string, CancellationToken)

Splits the mbox storage into less sized parts.

public Task SplitIntoAsync(long chunkSize, string outputPath, string partFileNamePrefix, 
    CancellationToken token)
ParameterTypeDescription
chunkSizeInt64The approximate size of a chunk in bytes.
outputPathStringThe folder path where chunks will be created.
partFileNamePrefixString
tokenCancellationTokenA CancellationToken that enables the possible cancellation of the operation.

Return Value

The Task object

Exceptions

exceptioncondition
ArgumentExceptionThrows when the path parameter is null or empty.

See Also


SplitIntoAsync(long, string, CancellationToken)

Splits the mbox storage into less sized parts.

public Task SplitIntoAsync(long chunkSize, string outputPath, CancellationToken token)
ParameterTypeDescription
chunkSizeInt64The approximate size of a chunk in bytes.
outputPathStringThe folder path where chunks will be created.
tokenCancellationTokenA CancellationToken that enables the possible cancellation of the operation.

Return Value

The Task object

Exceptions

exceptioncondition
ArgumentExceptionThrows when the path parameter is null or empty.

See Also