System Namespace Exception Class
When overridden in a derived class, sets the SerializationInfo with information about the exception.
[ VB ] <Serializable> <ClassInterface ( ClassInterfaceType.AutoDual ) > Overridable Public Sub GetObjectData ( _ ByVal info As SerializationInfo, _ ByVal context As StreamingContext _ ) Implements ISerializable.GetObjectData [ C# ] [ Serializable ] [ ClassInterface ( ClassInterfaceType.AutoDual ) ] public virtual void GetObjectData ( SerializationInfo info, StreamingContext context ); [ C++ ] [ Serializable ] [ ClassInterface ( ClassInterfaceType.AutoDual ) ] public: virtual void GetObjectData ( SerializationInfo* info, StreamingContext context ); [ JScript ] public Serializable ClassInterface ( ClassInterfaceType.AutoDual ) function GetObjectData ( info : SerializationInfo, context : StreamingContext );
ISerializable.GetObjectData
GetObjectData sets a SerializationInfo with all the exception object data targeted for serialization. During deserialization, the exception is reconstituted from the SerializationInfo transmitted over the stream.
Exception Members SerializationInfo StreamingContext
© 2000-2010 Rey Nuñez All rights reserved.If you have any question, comment or suggestion about this site, please send us a note
You can help support asp.net.ph