예제 #1
0
파일: ClientBase.cs 프로젝트: mdae/MonoRT
            protected object EndInvoke(string methodName, object [] args, IAsyncResult result)
            {
                var cd = endpoint.Contract;
                var od = cd.Operations.Find(methodName);

                if (od == null)
                {
                    throw new ArgumentException(String.Format("Operation '{0}' not found in the service contract '{1}' in namespace '{2}'", methodName, cd.Name, cd.Namespace));
                }
                return(Inner.EndProcess(od.EndMethod, methodName, args, result));
            }
예제 #2
0
 public object EndProcess(MethodBase method, string operationName, object [] parameters, IAsyncResult result)
 {
     return(client.EndProcess(method, operationName, parameters, result));
 }