The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
InvalidDataContractException Constructor (SerializationInfo^, StreamingContext)
.NET Framework (current version)
Initializes a new instance of the InvalidDataContractException class with the specified SerializationInfo and StreamingContext.
Assembly: System.Runtime.Serialization (in System.Runtime.Serialization.dll)
protected:
InvalidDataContractException(
SerializationInfo^ info,
StreamingContext context
)
Parameters
- info
-
Type:
System.Runtime.Serialization::SerializationInfo^
A SerializationInfo that contains data needed to serialize and deserialize an object.
- context
-
Type:
System.Runtime.Serialization::StreamingContext
A StreamingContext that specifies user context during serialization and deserialization.
This constructor is used in deserialization by one of the formatters in the System.Runtime.Serialization namespace.
.NET Framework
Available since 3.0
Available since 3.0
Show: