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)
| Parameter | Type | Description |
|---|
| sourceFileNames | String[] | The source file names. |
| token | CancellationToken | Propagates notification that operations should be canceled. |
Exceptions
| exception | condition |
|---|
| 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)
| Parameter | Type | Description |
|---|
| sourceStreams | Stream[] | The source streams. |
| token | CancellationToken | Propagates notification that operations should be canceled. |
Exceptions
| exception | condition |
|---|
| ArgumentNullException | “Throws when the stream collection is null.” |
| ArgumentException | “Throws when the stream in collection is null.” |
See Also