InvalidBodyAccessException Constructor (String^, Exception^)
.NET Framework (current version)
Initializes a new instance of the InvalidBodyAccessException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- message
-
Type:
System::String^
The error message that explains the reason for the exception.
- innerException
-
Type:
System::Exception^
The exception that is the cause of the current exception.
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: