Muokkaa

Jaa


FilterInvalidBodyAccessException Constructors

Definition

Initializes a new instance of the FilterInvalidBodyAccessException class.

Overloads

FilterInvalidBodyAccessException()

Initializes a new instance of the FilterInvalidBodyAccessException class.

FilterInvalidBodyAccessException(String)

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

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>)

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)

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>)

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()

Initializes a new instance of the FilterInvalidBodyAccessException class.

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

Applies to

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

The error message that explains the reason for the exception.

Applies to

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

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

context
StreamingContext

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

Applies to

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

The error message that explains the reason for the exception.

filters
Collection<MessageFilter>

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

Applies to

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

The error message that explains the reason for the exception.

innerException
Exception

The Exception that caused the current exception to be thrown.

Applies to

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

The error message that explains the reason for the exception.

innerException
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