MatchNoneMessageFilter 类

定义

表示其所测试的所有消息都不能满足其条件的查询。Represents a query that is never satisfied by a message that it tests.

public ref class MatchNoneMessageFilter : System::ServiceModel::Dispatcher::MessageFilter
[System.Runtime.Serialization.DataContract]
public class MatchNoneMessageFilter : System.ServiceModel.Dispatcher.MessageFilter
type MatchNoneMessageFilter = class
    inherit MessageFilter
Public Class MatchNoneMessageFilter
Inherits MessageFilter
继承
MatchNoneMessageFilter
属性

注解

此类可提供一个不允许任何消息通过的筛选器。This class provides a filter that never allows a message through. 特别是,Match 方法可为每个非 false 消息返回 nullSpecifically, the Match methods returns false for every message that is not null.

构造函数

MatchNoneMessageFilter()

初始化 MatchNoneMessageFilter 类的新实例。Initializes a new instance of the MatchNoneMessageFilter class.

方法

CreateFilterTable<FilterData>()

创建与指定类型的数据相关联的筛选器的筛选器表。Creates a filter table for a filter that has a specified type of data associated with it.

(继承自 MessageFilter)
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)

此方法可为所有非 false 消息返回 nullThis method returns false for every message that is not null.

Match(MessageBuffer)

此方法可为所有非 false 消息返回 nullThis method returns false for every message that is not null.

MemberwiseClone()

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

(继承自 Object)
ToString()

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

(继承自 Object)

适用于