Метод | Описание | |
---|---|---|
ConvertEntityToXml ( Senparc.Weixin.MP.Entities.ResponseMessageBase entity ) : System.Xml.Linq.XDocument |
将ResponseMessage实体转为XML
|
|
GetResponseEntity ( System.Xml.Linq.XDocument doc ) : IResponseMessageBase |
获取XDocument转换后的IResponseMessageBase实例(通常在反向读取日志的时候用到)。 如果MsgType不存在,抛出UnknownRequestMsgTypeException异常
|
|
GetResponseEntity ( string xml ) : IResponseMessageBase |
获取XDocument转换后的IRequestMessageBase实例。 如果MsgType不存在,抛出UnknownRequestMsgTypeException异常
|
public static ConvertEntityToXml ( Senparc.Weixin.MP.Entities.ResponseMessageBase entity ) : System.Xml.Linq.XDocument | ||
entity | Senparc.Weixin.MP.Entities.ResponseMessageBase | ResponseMessage实体 |
Результат | System.Xml.Linq.XDocument |
public static GetResponseEntity ( System.Xml.Linq.XDocument doc ) : IResponseMessageBase | ||
doc | System.Xml.Linq.XDocument | |
Результат | IResponseMessageBase |
public static GetResponseEntity ( string xml ) : IResponseMessageBase | ||
xml | string | |
Результат | IResponseMessageBase |