コード例 #1
0
ファイル: Method.cs プロジェクト: krbvroc1/KeeFox
        /// <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));
        }
コード例 #2
0
 public IAsyncResult BeginInvoke(IService service, object[] args, AsyncCallback callback, object asyncState)
 {
     return(_handler.BeginInvoke(service, WarpedArgsFromArgsArray(args), callback, asyncState));
 }