Share via


TopicDescription.EnableFilteringMessagesBeforePublishing Property

Definition

Gets or sets whether messages should be filtered before publishing.

public bool EnableFilteringMessagesBeforePublishing { get; set; }
member this.EnableFilteringMessagesBeforePublishing : bool with get, set
Public Property EnableFilteringMessagesBeforePublishing As Boolean

Property Value

true if message filtering is enabled before publishing; otherwise, false.

Exceptions

Thrown if the subscriptions do not match.

Remarks

This feature is recommended to be used only for development and testing purposes. For example, when new Rules or Filters are being added to the topic, this feature can be used to verify that the new filter expression is working as expected. Once tested and working fine, the feature should be turned off in production.

Applies to