Esempio n. 1
0
            protected override TResult DoImpl <TArg, TResult>(Func <TArg, TResult> func, TArg arg)
            {
                ThrowIfNotConnected();

                try
                {
                    return(hostService.Do(func, arg));
                }
                catch (Exception ex)
                {
                    throw new HostException(Resources.RemoteHost_RemoteException, ex);
                }
            }