RemoteObjects obj = new RemoteObjects(ConfigurationSettings.AppSettings["ServerConnString"]);
RuleProcessor oRuleProcessor = (IRuleProcessor)obj.GetRemoteObject(ObjectList.RuleProcessor);
//這二行是一組的,obj是去new遠端物件,
//再透過obj去取放在遠端的RuleProcessor
//本機寫法,不透過遠端
//所以改 RuleProcessor ,把這個new的對象改成我們本機的
RuleProcessor oRuleProcessor = new RuleProcessor();
//遠端呼叫RuleProcessor中的方法
IProcessSpecialData oSpecialProcessor = oRuleProcessor.ProcessSpecialData(Id);