/// <summary> /// The web response is recieved here. So, override this method to get the response and do what you want. /// </summary> /// <param name="guid">Guid of a certain request</param> /// <param name="e">Result</param> public abstract void ApiCallCompleted(Guid guid, ApiResult e);
private void OnOperationCompleted(Guid guid, WebServiceEventArgs args) { var result = new ApiResult(args.UserState, args.Exception, args.ResponseStatus, args.ResponseString); ApiCallCompleted(guid, result); }