コード例 #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));
 }