private void OnShellDialogResponseReceived(ShellDialogResponseMessage message)
{
if (!message.IsItForMe(this.dialogCorrelationId))
{
return;
}
if (message.Response == ShellDialogButton.Cancel)
{
Reset();
this.fileSelectionTask.Start();
return;
}
// FileName is already set by data binding.
// Use the task to signal completion.
this.fileSelectionTask.Start();
}