Export (0) Print
Expand All

InvalidBodyAccessException Constructor (String)

Initializes a new instance of the InvalidBodyAccessException class with a specified error message.

Namespace:  System.ServiceModel.Dispatcher
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

protected InvalidBodyAccessException(
	string message


Type: System.String

The error message that explains the reason for the 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

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft