SALES: 1-800-867-1380

Filter.Match Method

Matches the BrokeredMessage against the FilterExpression.

Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

public abstract bool Match(
	BrokeredMessage message
)

Parameters

message
Type: Microsoft.ServiceBus.Messaging.BrokeredMessage
The BrokeredMessage object.

Return Value

Type: System.Boolean
true if the BrokeredMessage matches the filtering expression; otherwise, false.

ExceptionCondition
InvalidOperationException

The operation is invalid with the current state of object.

FilterActionException

Filter evaluation failed.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft