Redigera

Dela via


EndpointNameMessageFilter.Match Method

Definition

Tests whether a message satisfies the specified endpoint name.

Overloads

Match(Message)

Tests whether a message satisfies the specified endpoint name.

Match(MessageBuffer)

Tests whether a buffered message satisfies the specified endpoint name.

Match(Message)

Tests whether a message satisfies the specified endpoint name.

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 check.

Returns

true if the Message object satisfies the endpoint name specified in the filter; otherwise, false.

Applies to

Match(MessageBuffer)

Tests whether a buffered message satisfies the specified endpoint name.

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

Parameters

buffer
MessageBuffer

The MessageBuffer object to check.

Returns

true if the Message object satisfies the endpoint name specified in the filter; otherwise, false.

Applies to