InvalidBodyAccessException Constructor (SerializationInfo^, StreamingContext)
.NET Framework (current version)
Initializes a new instance of the InvalidBodyAccessException class with serialized and contextual information specified.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
protected:
InvalidBodyAccessException(
SerializationInfo^ info,
StreamingContext context
)
Parameters
- info
-
Type:
System.Runtime.Serialization::SerializationInfo^
The SerializationInfo that holds the serialized object data about the exception being thrown.
- context
-
Type:
System.Runtime.Serialization::StreamingContext
The StreamingContext that contains contextual information about the source or destination.
Notes to Implementers:
When building a custom MessageFilterTable<TFilterData> it is the responsibility of the implementer to pass the relevant parameters to the constructor called to throw the InvalidBodyAccessException.
.NET Framework
Available since 3.0
Available since 3.0
Show: