IAsyncEwsClient.RestoreAsync
IAsyncEwsClient.RestoreAsync method
Restores the specified exchange folders from the given personal storage.
public Task RestoreAsync(PersonalStorage pst, RestoreSettings settings, 
    CancellationToken cancellationToken = default)
| Parameter | Type | Description | 
|---|---|---|
| pst | PersonalStorage | A personal storage containing the backuped exchange folders. | 
| settings | RestoreSettings | The restore settings. | 
| cancellationToken | CancellationToken | The cancellation token. | 
Exceptions
| exception | condition | 
|---|---|
| AsposeArgumentNullException | pst is null. | 
See Also
- class PersonalStorage
 - class RestoreSettings
 - interface IAsyncEwsClient
 - namespace Aspose.Email.Clients.Exchange.WebService
 - assembly Aspose.Email