/// <summary> /// Asynchronously calls the HistoryUpdate service. /// </summary> public virtual IAsyncResult BeginHistoryUpdate(HistoryUpdateMessage message, AsyncCallback callback, object callbackData) { try { // check for bad data. if (message == null) throw new ArgumentNullException("message"); // set the request context. SetRequestContext(RequestEncoding.Xml); // create handler. ProcessRequestAsyncResult result = new ProcessRequestAsyncResult(this, callback, callbackData, 0); return result.BeginProcessRequest(SecureChannelContext.Current, message.HistoryUpdateRequest); } catch (Exception e) { throw CreateSoapFault(message.HistoryUpdateRequest, e); } }
/// <summary> /// The operation contract for the HistoryUpdate service. /// </summary> public virtual HistoryUpdateResponseMessage HistoryUpdate(HistoryUpdateMessage request) { HistoryUpdateResponse response = null; try { // OnRequestReceived(message.HistoryUpdateRequest); SetRequestContext(RequestEncoding.Xml); response = (HistoryUpdateResponse)HistoryUpdate(request.HistoryUpdateRequest); // OnResponseSent(response); return new HistoryUpdateResponseMessage(response); } catch (Exception e) { Exception fault = CreateSoapFault(request.HistoryUpdateRequest, e); // OnResponseFaultSent(fault); throw fault; } }
/// <summary> /// The operation contract for the HistoryUpdate service. /// </summary> public virtual HistoryUpdateResponseMessage HistoryUpdate(HistoryUpdateMessage request) { try { SetRequestContext(RequestEncoding.Xml); HistoryUpdateResponse response = (HistoryUpdateResponse)HistoryUpdate(request.HistoryUpdateRequest); return new HistoryUpdateResponseMessage(response); } catch (Exception e) { throw CreateSoapFault(request.HistoryUpdateRequest, e); } }
public HistoryUpdateResponseMessage HistoryUpdate(HistoryUpdateMessage request) { throw new NotImplementedException(); }