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
)

Parameters

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
Available since 3.0
Return to top
Show: