Skip to content

SerializerException.SerializerException(SerializationInfo, StreamingContext)

SerializerException(SerializationInfo, StreamingContext)

View source
[System.Obsolete]
protected SerializerException(SerializationInfo info, StreamingContext context)
Initializes a new instance of the SerializerException class.

Parameters

infoSerializationInfo
The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown.
contextStreamingContext
The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination.