Editar

Compartir a través de


MessageFilterException Constructors

Definition

Initializes a new instance of the MessageFilterException class.

Overloads

MessageFilterException()

Initializes a new instance of the MessageFilterException class.

MessageFilterException(String)

Initializes a new instance of the MessageFilterException class.

MessageFilterException(SerializationInfo, StreamingContext)

Initializes a new instance of the MessageFilterException class with a specified SerializationInfo and StreamingContext.

MessageFilterException(String, Collection<MessageFilter>)

Initializes a new instance of the MessageFilterException class with a specified error message and a collection of the filters that exceeded the quota of nodes.

MessageFilterException(String, Exception)

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

MessageFilterException(String, Exception, Collection<MessageFilter>)

Initializes a new instance of the MessageFilterException class, the inner exception that caused the current exception, and a collection of the filters that exceeded the quota of nodes.

MessageFilterException()

Initializes a new instance of the MessageFilterException class.

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

Applies to

MessageFilterException(String)

Initializes a new instance of the MessageFilterException class.

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

Parameters

message
String

The message to accompany the exception.

Applies to

MessageFilterException(SerializationInfo, StreamingContext)

Initializes a new instance of the MessageFilterException class with a specified SerializationInfo and StreamingContext.

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

Parameters

info
SerializationInfo

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

context
StreamingContext

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

Applies to

MessageFilterException(String, Collection<MessageFilter>)

Initializes a new instance of the MessageFilterException class with a specified error message and a collection of the filters that exceeded the quota of nodes.

public:
 MessageFilterException(System::String ^ message, System::Collections::ObjectModel::Collection<System::ServiceModel::Dispatcher::MessageFilter ^> ^ filters);
public MessageFilterException (string message, System.Collections.ObjectModel.Collection<System.ServiceModel.Dispatcher.MessageFilter> filters);
new System.ServiceModel.Dispatcher.MessageFilterException : string * System.Collections.ObjectModel.Collection<System.ServiceModel.Dispatcher.MessageFilter> -> System.ServiceModel.Dispatcher.MessageFilterException
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 collection of MessageFilters that exceeded the quota of nodes.

Applies to

MessageFilterException(String, Exception)

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

public:
 MessageFilterException(System::String ^ message, Exception ^ innerException);
public MessageFilterException (string message, Exception innerException);
new System.ServiceModel.Dispatcher.MessageFilterException : string * Exception -> System.ServiceModel.Dispatcher.MessageFilterException
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

MessageFilterException(String, Exception, Collection<MessageFilter>)

Initializes a new instance of the MessageFilterException class, the inner exception that caused the current exception, and a collection of the filters that exceeded the quota of nodes.

public:
 MessageFilterException(System::String ^ message, Exception ^ innerException, System::Collections::ObjectModel::Collection<System::ServiceModel::Dispatcher::MessageFilter ^> ^ filters);
public MessageFilterException (string message, Exception innerException, System.Collections.ObjectModel.Collection<System.ServiceModel.Dispatcher.MessageFilter> filters);
new System.ServiceModel.Dispatcher.MessageFilterException : string * Exception * System.Collections.ObjectModel.Collection<System.ServiceModel.Dispatcher.MessageFilter> -> System.ServiceModel.Dispatcher.MessageFilterException
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 of MessageFilters that exceeded the quota of nodes.

Applies to