6.15.4.1 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
-
infoA
SerializationInfoobject. -
contextA
StreamingContextobject.
Remarks
The information includes DataSource, Message, Number, Procedure, Source, and StackTrace.