Пример #1
0
        private async Task ShowErrorAndClose(string caption, RdpException e)
        {
            using (TraceSources.IapDesktop.TraceMethod().WithParameters(e.Message))
            {
                await this.eventService.FireAsync(
                    new RemoteDesktopConnectionFailedEvent(this.Instance, e));

                this.exceptionDialog.Show(this, caption, e);
                Close();
            }
        }
 public RemoteDesktopConnectionFailedEvent(VmInstanceReference vmInstance, RdpException exception)
     : base(vmInstance)
 {
     this.Exception = exception;
 }
Пример #3
0
 public RemoteDesktopConnectionFailedEvent(InstanceLocator vmInstance, RdpException exception)
     : base(vmInstance)
 {
     this.Exception = exception;
 }