Redigera

Dela via


FilterInvalidBodyAccessException.Filters Property

Definition

Gets the collection of filters that contains the filter that caused the exception to be thrown.

public:
 property System::Collections::ObjectModel::Collection<System::ServiceModel::Dispatcher::MessageFilter ^> ^ Filters { System::Collections::ObjectModel::Collection<System::ServiceModel::Dispatcher::MessageFilter ^> ^ get(); };
public System.Collections.ObjectModel.Collection<System.ServiceModel.Dispatcher.MessageFilter> Filters { get; }
member this.Filters : System.Collections.ObjectModel.Collection<System.ServiceModel.Dispatcher.MessageFilter>
Public ReadOnly Property Filters As Collection(Of MessageFilter)

Property Value

The Collection<T> of type MessageFilter that contains the filters that caused the exception to be thrown.

Remarks

In the case of a filter table, this collection does not necessarily contain all offending filters. It only contains the filter(s) that caused the violation. It is quite possible there are other filters that would have committed a similar violation had processing not been aborted.

Applies to