GetObjectData
Overrides Exception
This method sets the serializable info object with information about the exception.
Declaration
// C#
public override void GetObjectData(SerializationInfo info, StreamingContext
context);
Parameters
-
info
A
SerializationInfoobject. -
context
A
StreamingContextobject.
Remarks
The information includes DataSource, Message, Number, Procedure, Source, and StackTrace.