StrictAndMessageFilter 类

定义

表示一个查询,该查询测试消息是否满足两个指定的 MessageFilter 对象。Represents a query that tests whether a message satisfies both specified MessageFilter objects.

public ref class StrictAndMessageFilter : System::ServiceModel::Dispatcher::MessageFilter
public class StrictAndMessageFilter : System.ServiceModel.Dispatcher.MessageFilter
type StrictAndMessageFilter = class
    inherit MessageFilter
Public Class StrictAndMessageFilter
Inherits MessageFilter
继承
StrictAndMessageFilter

注解

此筛选器执行的匹配总是先计算两个 MessageFilter 对象,然后再返回结果。Matches performed by this filter will always evaluate both MessageFilter objects before returning a result.

如果第一个计算的 MessageFilter 返回 false,则此 AND 操作不会短路。This AND operation does not short circuit if the first MessageFilter evaluated returns false.

构造函数

StrictAndMessageFilter(MessageFilter, MessageFilter)

使用指定的 StrictAndMessageFilter 对象创建 MessageFilter 类的新实例。Creates a new instance of the StrictAndMessageFilter class using the specified MessageFilter objects.

方法

CreateFilterTable<TFilterData>()

创建一个新的 IMessageFilterTable<TFilterData>Creates a new IMessageFilterTable<TFilterData>.

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
Match(Message)

测试消息是否与此筛选器中指定的两个 MessageFilter 对象相匹配。Tests whether a message matches both of the MessageFilter objects specified in this filter.

Match(MessageBuffer)

测试缓冲消息是否与此筛选器中指定的两个 MessageFilter 对象相匹配。Tests whether a buffered message matches both of the MessageFilter objects specified in this filter.

MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于