我收到一个错误,看起来是由于在 uint 字段中使用十六进制输入的错误。它发生在我正在处理的 Web 服务的两个版本上。
System.ArgumentException: Cannot convert 0x2 to System.UInt32.
Parameter name: type ---> System.FormatException: Input string was not in a correct format.
但是,我的同事说,当他使用 C++ 调用它时,它适用于我拥有的 Web 服务的早期版本,但它不适用于我正在处理的当前版本。
有没有人经历过这个?