Editar

Compartir a través de


MatchNoneMessageFilter.Match Method

Definition

These methods returns false for every message that is not null.

Overloads

Match(Message)

This method returns false for every message that is not null.

Match(MessageBuffer)

This method returns false for every message that is not null.

Remarks

The difference between the two overloads of the Match method is that one takes the MessageBuffer parameter and buffers the entire contents of a message (including its body) into memory, while the other takes the Message parameter and does not buffer the body.

Match(Message)

This method returns false for every message that is not null.

public:
 override bool Match(System::ServiceModel::Channels::Message ^ message);
public override bool Match (System.ServiceModel.Channels.Message message);
override this.Match : System.ServiceModel.Channels.Message -> bool
Public Overrides Function Match (message As Message) As Boolean

Parameters

message
Message

The Message object to test.

Returns

Returns false.

Exceptions

message is null.

Remarks

The difference between the two overloads of the Match method is that one takes the MessageBuffer parameter and buffers the entire contents of a message (including its body) into memory, while the other takes the Message parameter and does not buffer the body.

Applies to

Match(MessageBuffer)

This method returns false for every message that is not null.

public:
 override bool Match(System::ServiceModel::Channels::MessageBuffer ^ messageBuffer);
public override bool Match (System.ServiceModel.Channels.MessageBuffer messageBuffer);
override this.Match : System.ServiceModel.Channels.MessageBuffer -> bool
Public Overrides Function Match (messageBuffer As MessageBuffer) As Boolean

Parameters

messageBuffer
MessageBuffer

The MessageBuffer object to test.

Returns

Returns false.

Exceptions

messageBuffer is null.

Remarks

This method takes the MessageBuffer parameter, which buffers the entire contents of a message (including its body) into memory, and allows the body to be inspected.

Applies to