InvalidDataContractException
The exception that is thrown when the DataContractSerializer or NetDataContractSerializer encounters an invalid data contract during serialization and deserialization.
public InvalidDataContractException()
Initializes a new instance of the InvalidDataContractException class.
Initializes a new instance of the InvalidDataContractException class with the specified error message.
Initializes a new instance of the InvalidDataContractException class with the specified error message and inner exception.