상속: System.MarshalByRefObject, ISafeChildProcessHandle
예제 #1
0
        private static void InitializeRemoting(string id, IOutOfProcessEntryPoint entryPoint)
        {
            Remoting.Remoting.RegisterChannels(true, id);

            s_SafeChildProcessHandle = new SafeChildProcessHandle(Dispatcher.CurrentDispatcher, entryPoint);
            Remoting.Remoting.RegisterService <SafeChildProcessHandle, ISafeChildProcessHandle>(s_SafeChildProcessHandle);
        }
예제 #2
0
        private static void InitializeRemoting(string id, IOutOfProcessEntryPoint entryPoint)
        {
            Remoting.Remoting.RegisterChannels(true, id);

            s_SafeChildProcessHandle = new SafeChildProcessHandle(Dispatcher.CurrentDispatcher, entryPoint);
            Remoting.Remoting.RegisterService<SafeChildProcessHandle, ISafeChildProcessHandle>(s_SafeChildProcessHandle);
        }