Deserialization Problems ... The constructor to deserialize an object of type ... was not found
2006-04-20 16:32
671 查看
在做动态调用时碰到一个问题,The constructor to deserialize an object of type 'MSNException' was not found,其中MSNException 标记为Serializable tag,并且MSNException 从 Exception 继承,而且Exception本身已经实现ISerializable interface ,这使我非常的困惑,后来我查看Exception源代码看到这样一个构造函数
protected Exception(SerializationInfo info, StreamingContext context)
public MSNException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
protected Exception(SerializationInfo info, StreamingContext context)
public MSNException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
相关文章推荐
- .Net Remoting 排错笔记:The constructor to deserialize an object of type 'xxx.xxxx.xxxxx' was not found.
- Server was unable to process request. ---> Object reference not set to an instance of an object解决
- VMware 12安装CentOS 6.9时出现:The centos disc was not found in any of your drives.Please insert the centos disc and press OK to retry
- An SPF (type 99) record was not found. This record type is planned to supplant the SPF formatted TXT records,
- An SDK corresponding to WDK version '8.1' was not found. Please install the SDK before building.
- The "." operator was supplied with an index value of type "java.lang.String" to be applied to a List
- 【明哥报错簿】之【 "javax.servlet.http.HttpServlet" was not found on the Java Build Path || HttpServletRequest/HttpServletResponse cannot be resolved to a type】
- Err:The "." operator was supplied with an index value of type "java.lang.String" to be applied to a List or array
- xxxx.accessor: The reference to 'xxxx' was not found in the list of this projects references
- org.springframework.security.AuthenticationCredentialsNotFoundException: An Authentication object was not found in the SecurityC
- erro: "Instantiation of '***' failed. The design unit was not found"
- Operation is not valid due to the current state of the object.
- VB.NET Error Object reference not set to an instance of an object
- Property 'edgesForExtendedlayout' not found on object of type 解决方案
- Property 'edgesForExtendedlayout' not found on object of type
- The type or namespace name `MovieTexture' could not be found. Are you missing an assembly reference?
- "The object cannot be deleted because it was not found in the ObjectStateManager."
- 20100507 学习记录: Server Error in '/' Application. Object reference not set to an instance of an object
- Operation is not valid due to the current state of the object
- The type of the expression must be an array type but it resolved to Point