PersonalStorage.MergeWithAsync

MergeWithAsync(string[], CancellationToken)

Merges the pst storage with one or more other pst files. Thus, the combined files are sources.

public Task MergeWithAsync(string[] sourceFileNames, CancellationToken token = default)
ParameterTypeDescription
sourceFileNamesString[]The source file names.
tokenCancellationTokenPropagates notification that operations should be canceled.

Exceptions

exceptioncondition
ArgumentNullException“Throws when the filename collection is null.”
ArgumentException“Throws when the filename in collection is null or empty.”

See Also


MergeWithAsync(Stream[], CancellationToken)

Merges the pst storage with one or more other pst streams. Thus, the combined stream are sources.

public Task MergeWithAsync(Stream[] sourceStreams, CancellationToken token = default)
ParameterTypeDescription
sourceStreamsStream[]The source streams.
tokenCancellationTokenPropagates notification that operations should be canceled.

Exceptions

exceptioncondition
ArgumentNullException“Throws when the stream collection is null.”
ArgumentException“Throws when the stream in collection is null.”

See Also