0
我曾嘗試使用Dictionary<string, string>
到SoapFormatter
序列,但它拋出一個異常爲什麼Soap Serializer不支持序列化泛型?
SOAP序列不支持序列化的泛型類型: System.Collections.Generic.Dictionary`2 [System.String,System.String] 。
Dictionary<string, string>
的序列化與BinaryFormatter一起使用。
任何人都知道爲什麼SoapFormatter
不支持序列化泛型?
SoapFormater已被棄用,這可能是相同的原因。 –