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