Adding more features to restore operation (#420)

* Adding more features to restore operations and added tests
This commit is contained in:
Leila Lali
2017-07-24 09:41:32 -07:00
committed by GitHub
parent 354d702d6f
commit e1395cbd7d
34 changed files with 5861 additions and 269 deletions

View File

@@ -190,8 +190,11 @@ namespace Microsoft.SqlTools.ServiceLayer.TaskServices
WaitHandle.WaitAny(waitHandles);
try
{
await this.TaskToCancel(this);
result.TaskStatus = SqlTaskStatus.Canceled;
if (token.IsCancellationRequested)
{
await this.TaskToCancel(this);
result.TaskStatus = SqlTaskStatus.Canceled;
}
}
catch (Exception ex)
{