| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
 | | using System; |  | using System.Xml.Serialization; |  |   |  | namespace Aliyun.Api |  | { |  |     [Serializable] |  |     public abstract class AliyunResponse |  |     { |  |         /// <summary> |  |         /// 错误码 |  |         /// </summary> |  |         [XmlElement("Code")] |  |         public string Code { get; set; } |  |   |  |         /// <summary> |  |         /// 错误信息 |  |         /// </summary> |  |         [XmlElement("Message")] |  |         public string Message { get; set; } |  |          |  |   |  |         /// <summary> |  |         /// 响应原始内容 |  |         /// </summary> |  |         public string Body { get; set; } |  |   |  |   |  |         /// <summary> |  |         /// 响应结果是否错误 |  |         /// </summary> |  |         public bool IsError |  |         { |  |             get |  |             { |  |                 return !string.IsNullOrEmpty(this.Code); |  |             } |  |         } |  |     } |  | } | 
 |