SALES: 1-800-867-1380

Filter.Match Method (BrokeredMessage)

 

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.

Exception Condition
InvalidOperationException

The operation is invalid with the current state of object.

T:Microsoft.ServiceBus.Messaging.FilterActionException

Filter evaluation failed.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2016 Microsoft