| Visual Basic (Declaration) | |
|---|---|
Public Function New( _ ByVal info As SerializationInfo, _ ByVal context As StreamingContext _ ) | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
Parameters
- info
Holds all the data needed to serialize or deserialize the object.
- context
- Describes the source and destination of a given serialized stream, as well as a means for serialization to retain that context and an additional caller-defined context.
This constructor is called during deserialization to reconstitute the exception object transmitted over a stream.