When overridden in a derived class, sets the SerializationInfo with information about the exception.
[SecurityPermissionAttribute()]
[SecurityPermissionAttribute()]
public override void GetObjectData(
SerializationInfo info,
StreamingContext context
)
Public Overrides Sub GetObjectData( _
ByVal info As SerializationInfo, _
ByVal context As StreamingContext _
)
info
The SerializationInfo that holds the serialized object data about the exception being thrown.
context
The StreamingContext that contains contextual information about the source or destination.
GetObjectData sets a SerializationInfo with all the exception object data targeted for serialization. During de-serialization, the exception is reconstituted from the SerializationInfo transmitted over the stream.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET