Constructor SerializationException
SerializationException()
Constructor.
public SerializationException()
SerializationException(string)
Constructor.
public SerializationException(string message)
Parameters
messagestringIndicates the reason why the exception occurred.
SerializationException(string, Exception)
Constructor.
public SerializationException(string message, Exception inner)
Parameters
messagestringIndicates the reason why the exception occurred.
innerExceptionThe exception that is the cause of the current exception.
SerializationException(SerializationInfo, StreamingContext)
Constructs exception from serialized data.
protected SerializationException(SerializationInfo info, StreamingContext context)
Parameters
infoSerializationInfoThe serialization information object holding the serialized object data in the name-value form.
contextStreamingContextThe contextual information about the source or destination of the exception.