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