This documentation is archived and is not being maintained.

InvalidDataContractException Constructor

Initializes a new instance of the InvalidDataContractException class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method InvalidDataContractException() Initializes a new instance of the InvalidDataContractException class.
Public method InvalidDataContractException(String) Initializes a new instance of the InvalidDataContractException class with the specified error message.
Protected method InvalidDataContractException(SerializationInfo, StreamingContext) Initializes a new instance of the InvalidDataContractException class with the specified SerializationInfo and StreamingContext.
Public method InvalidDataContractException(String, Exception) Initializes a new instance of the InvalidDataContractException class with the specified error message and inner exception.
Top
Show: