/// <summary> /// Asynchronously calls the HistoryRead service. /// </summary> public virtual IAsyncResult BeginHistoryRead(HistoryReadMessage 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.HistoryReadRequest); } catch (Exception e) { throw CreateSoapFault(message.HistoryReadRequest, e); } }
/// <summary> /// The operation contract for the HistoryRead service. /// </summary> public virtual HistoryReadResponseMessage HistoryRead(HistoryReadMessage request) { HistoryReadResponse response = null; try { // OnRequestReceived(message.HistoryReadRequest); SetRequestContext(RequestEncoding.Xml); response = (HistoryReadResponse)HistoryRead(request.HistoryReadRequest); // OnResponseSent(response); return new HistoryReadResponseMessage(response); } catch (Exception e) { Exception fault = CreateSoapFault(request.HistoryReadRequest, e); // OnResponseFaultSent(fault); throw fault; } }
/// <summary> /// The operation contract for the HistoryRead service. /// </summary> public virtual HistoryReadResponseMessage HistoryRead(HistoryReadMessage request) { try { SetRequestContext(RequestEncoding.Xml); HistoryReadResponse response = (HistoryReadResponse)HistoryRead(request.HistoryReadRequest); return new HistoryReadResponseMessage(response); } catch (Exception e) { throw CreateSoapFault(request.HistoryReadRequest, e); } }
public HistoryReadResponseMessage HistoryRead(HistoryReadMessage request) { throw new NotImplementedException(); }