| |||||
Exception.GetObjectData MethodSystem 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 ); Parameters
ImplementsExceptions
RemarksGetObjectData 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. See AlsoException Members SerializationInfo StreamingContext |
| ||||
Check out related books at Amazon
© 2000-2008 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 aspxtreme