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)); }
public object EndProcess(MethodBase method, string operationName, object [] parameters, IAsyncResult result) { return(client.EndProcess(method, operationName, parameters, result)); }