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

Remarks

The information includes DataSource, Message, Number, Procedure, Source, and StackTrace.

See Also: