SerializationException Class
This page is specific to:.NET Framework Version:1.12.03.03.5Silverlight 34.0
.NET Framework Class Library
SerializationException Class

The exception thrown when an error occurs during serialization or deserialization.

For a list of all members of this type, see SerializationException Members.

System.Object
   System.Exception
      System.SystemException
         System.Runtime.Serialization.SerializationException

[Visual Basic]
<Serializable>
Public Class SerializationException
   Inherits SystemException
[C#]
[Serializable]
public class SerializationException : SystemException
[C++]
[Serializable]
public __gc class SerializationException : public SystemException
[JScript]
public
   Serializable
class SerializationException extends SystemException

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Remarks

SerializationException uses the HRESULT COR_E_SERIALIZATION with the value 0x8013150C.

SerializationException uses the default Equals implementation, which supports reference equality.

For a list of initial property values for an instance of SerializationException, see the SerializationException constructors.

Requirements

Namespace: System.Runtime.Serialization

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: Mscorlib (in Mscorlib.dll)

See Also

SerializationException Members | System.Runtime.Serialization Namespace | Exception | Handling and Throwing Exceptions

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View