提交 b50dbcad 编写于 作者: H HeeJae Chang

don't retain fault result in task center if nuget info download failed.

to retain fault result in task center, we need to provide detail info UI so that user can click the fault task left in the task center, but right now we don't have one and we don't want to just show exception message in message box.

we could think of using RetainAndNotifyFault so that we show exception message in the task center tip, but that would be annoying since most likely it is info user didn't ask for it.

we can add UI later if user ever ask for it. for now, taking simple approach of just removing it from task center once download is done in any way (success, cancelled, failed)
上级 2d355454
......@@ -72,7 +72,7 @@ private static TaskHandlerOptions GetOptions(string title)
var options = new TaskHandlerOptions
{
Title = title,
ActionsAfterCompletion = CompletionActions.RetainOnFaulted
ActionsAfterCompletion = CompletionActions.None
};
return options;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册