public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context) { ReportInstanceStatusResponse response = new ReportInstanceStatusResponse(); while (context.Read()) { } return response; }
/// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context) { ReportInstanceStatusResponse response = new ReportInstanceStatusResponse(); int originalDepth = context.CurrentDepth; int targetDepth = originalDepth + 1; if (context.IsStartOfDocument) targetDepth = 2; while (context.ReadAtDepth(originalDepth)) { if (context.IsStartElement || context.IsAttribute) { } } return response; }