/// <remarks> /// The default implementation calls Invoke synchronously and returns /// an IAsyncResult that also indicates that the operation completed /// synchronously. If a callback was supplied, it will be called /// before BeginInvoke returns. Also, if Invoke throws an exception, /// it is delayed until EndInvoke is called to retrieve the results. /// </remarks> public IAsyncResult BeginInvoke(IService service, string[] names, object[] args, AsyncCallback callback, object asyncState) { return(_handler.BeginInvoke(service, args, callback, asyncState)); }
public IAsyncResult BeginInvoke(IService service, object[] args, AsyncCallback callback, object asyncState) { return(_handler.BeginInvoke(service, WarpedArgsFromArgsArray(args), callback, asyncState)); }