Exemplo n.º 1
0
        public void CallService(string uri, object parameter, AsyncProxyCallback callback)
        {
            AsyncServiceState state = new AsyncServiceState(callback);
            state.Callback = new AsyncCallback(CallServiceCallback);

            base.BeginInvoke(uri,
                (null != parameter) ? this.SerializeRequest(parameter) : string.Empty,
                state);
        }
Exemplo n.º 2
0
 public AsyncServiceState(AsyncProxyCallback del)
 {
     BizCallback = del;
 }