FilterInvalidBodyAccessException FilterInvalidBodyAccessException FilterInvalidBodyAccessException FilterInvalidBodyAccessException Constructors

Definition

Overloads

FilterInvalidBodyAccessException() FilterInvalidBodyAccessException() FilterInvalidBodyAccessException()

Initializes a new instance of the FilterInvalidBodyAccessException class.

FilterInvalidBodyAccessException(String) FilterInvalidBodyAccessException(String) FilterInvalidBodyAccessException(String) FilterInvalidBodyAccessException(String)

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

FilterInvalidBodyAccessException(SerializationInfo, StreamingContext) FilterInvalidBodyAccessException(SerializationInfo, StreamingContext) FilterInvalidBodyAccessException(SerializationInfo, StreamingContext) FilterInvalidBodyAccessException(SerializationInfo, StreamingContext)

Initializes a new instance of the FilterInvalidBodyAccessException class with data that specifies the source and destination of the stream and the information required to serialize the exception.

FilterInvalidBodyAccessException(String, Collection<MessageFilter>) FilterInvalidBodyAccessException(String, Collection<MessageFilter>) FilterInvalidBodyAccessException(String, Collection<MessageFilter>) FilterInvalidBodyAccessException(String, Collection<MessageFilter>)

Initializes a new instance of the FilterInvalidBodyAccessException with a specified error message and the filters that attempted to inspect the body of the message.

FilterInvalidBodyAccessException(String, Exception) FilterInvalidBodyAccessException(String, Exception) FilterInvalidBodyAccessException(String, Exception) FilterInvalidBodyAccessException(String, Exception)

Initializes a new instance of the FilterInvalidBodyAccessException class with a specified error message and the inner exception that caused the current exception.

FilterInvalidBodyAccessException(String, Exception, Collection<MessageFilter>) FilterInvalidBodyAccessException(String, Exception, Collection<MessageFilter>) FilterInvalidBodyAccessException(String, Exception, Collection<MessageFilter>) FilterInvalidBodyAccessException(String, Exception, Collection<MessageFilter>)

Initializes a new instance of the FilterInvalidBodyAccessException class with a specified error message, the inner exception that caused the current exception, and the collection that contains the filter that attempted to inspect the body.

FilterInvalidBodyAccessException() FilterInvalidBodyAccessException() FilterInvalidBodyAccessException()

Initializes a new instance of the FilterInvalidBodyAccessException class.

public:
 FilterInvalidBodyAccessException();
public FilterInvalidBodyAccessException ();
Public Sub New ()

FilterInvalidBodyAccessException(String) FilterInvalidBodyAccessException(String) FilterInvalidBodyAccessException(String) FilterInvalidBodyAccessException(String)

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

public:
 FilterInvalidBodyAccessException(System::String ^ message);
public FilterInvalidBodyAccessException (string message);
new System.ServiceModel.Dispatcher.FilterInvalidBodyAccessException : string -> System.ServiceModel.Dispatcher.FilterInvalidBodyAccessException
Public Sub New (message As String)

Parameters

message
String String String String

The error message that explains the reason for the exception.

FilterInvalidBodyAccessException(SerializationInfo, StreamingContext) FilterInvalidBodyAccessException(SerializationInfo, StreamingContext) FilterInvalidBodyAccessException(SerializationInfo, StreamingContext) FilterInvalidBodyAccessException(SerializationInfo, StreamingContext)

Initializes a new instance of the FilterInvalidBodyAccessException class with data that specifies the source and destination of the stream and the information required to serialize the exception.

protected:
 FilterInvalidBodyAccessException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected FilterInvalidBodyAccessException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.ServiceModel.Dispatcher.FilterInvalidBodyAccessException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.ServiceModel.Dispatcher.FilterInvalidBodyAccessException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo SerializationInfo SerializationInfo SerializationInfo

The SerializationInfo that contains all the data required to serialize the exception.

context
StreamingContext StreamingContext StreamingContext StreamingContext

The StreamingContext that specifies the source and destination of the stream.

FilterInvalidBodyAccessException(String, Collection<MessageFilter>) FilterInvalidBodyAccessException(String, Collection<MessageFilter>) FilterInvalidBodyAccessException(String, Collection<MessageFilter>) FilterInvalidBodyAccessException(String, Collection<MessageFilter>)

Initializes a new instance of the FilterInvalidBodyAccessException with a specified error message and the filters that attempted to inspect the body of the message.

public:
 FilterInvalidBodyAccessException(System::String ^ message, System::Collections::ObjectModel::Collection<System::ServiceModel::Dispatcher::MessageFilter ^> ^ filters);
public FilterInvalidBodyAccessException (string message, System.Collections.ObjectModel.Collection<System.ServiceModel.Dispatcher.MessageFilter> filters);
new System.ServiceModel.Dispatcher.FilterInvalidBodyAccessException : string * System.Collections.ObjectModel.Collection<System.ServiceModel.Dispatcher.MessageFilter> -> System.ServiceModel.Dispatcher.FilterInvalidBodyAccessException
Public Sub New (message As String, filters As Collection(Of MessageFilter))

Parameters

message
String String String String

The error message that explains the reason for the exception.

filters
Collection<MessageFilter>

The MessageFilter that attempted to inspect the body of the message.

FilterInvalidBodyAccessException(String, Exception) FilterInvalidBodyAccessException(String, Exception) FilterInvalidBodyAccessException(String, Exception) FilterInvalidBodyAccessException(String, Exception)

Initializes a new instance of the FilterInvalidBodyAccessException class with a specified error message and the inner exception that caused the current exception.

public:
 FilterInvalidBodyAccessException(System::String ^ message, Exception ^ innerException);
public FilterInvalidBodyAccessException (string message, Exception innerException);
new System.ServiceModel.Dispatcher.FilterInvalidBodyAccessException : string * Exception -> System.ServiceModel.Dispatcher.FilterInvalidBodyAccessException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String String String String

The error message that explains the reason for the exception.

innerException
Exception Exception Exception Exception

The Exception that caused the current exception to be thrown.

FilterInvalidBodyAccessException(String, Exception, Collection<MessageFilter>) FilterInvalidBodyAccessException(String, Exception, Collection<MessageFilter>) FilterInvalidBodyAccessException(String, Exception, Collection<MessageFilter>) FilterInvalidBodyAccessException(String, Exception, Collection<MessageFilter>)

Initializes a new instance of the FilterInvalidBodyAccessException class with a specified error message, the inner exception that caused the current exception, and the collection that contains the filter that attempted to inspect the body.

public:
 FilterInvalidBodyAccessException(System::String ^ message, Exception ^ innerException, System::Collections::ObjectModel::Collection<System::ServiceModel::Dispatcher::MessageFilter ^> ^ filters);
public FilterInvalidBodyAccessException (string message, Exception innerException, System.Collections.ObjectModel.Collection<System.ServiceModel.Dispatcher.MessageFilter> filters);
new System.ServiceModel.Dispatcher.FilterInvalidBodyAccessException : string * Exception * System.Collections.ObjectModel.Collection<System.ServiceModel.Dispatcher.MessageFilter> -> System.ServiceModel.Dispatcher.FilterInvalidBodyAccessException
Public Sub New (message As String, innerException As Exception, filters As Collection(Of MessageFilter))

Parameters

message
String String String String

The error message that explains the reason for the exception.

innerException
Exception Exception Exception Exception

The Exception that caused the current exception to be thrown.

filters
Collection<MessageFilter>

The Collection<T> of type MessageFilter that contains the filter that attempted to inspect the body of the message.

Applies to