FilterRule Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A filter rule for the MessageRouter.
public class FilterRule
type FilterRule = class
Public Class FilterRule
- Inheritance
-
FilterRule
Constructors
FilterRule(String, TalkerId, SentenceId, IEnumerable<String>, Boolean, Boolean) |
A standard filter rule. When the filter matches |
FilterRule(String, TalkerId, SentenceId, IEnumerable<String>, Func<NmeaSinkAndSource,NmeaSinkAndSource,NmeaSentence,NmeaSentence>, Boolean, Boolean) |
A standard filter rule. When the filter matches |
Properties
ContinueAfterMatch |
If this is true, filter testing is continued even after a match. If it is false (the default), no further filters are tested after the first match (which typically means that a message is only matching one filter) |
ForwardingAction |
If non-null, this action can modify the message before it is being sent to the indicated sink. Note that the input message shall not be modified, clone it if necessary. |
SentenceId |
SentenceId for which this filter applies |
Sinks |
Action this filter performs |
SourceName |
Name of the source for which this filter shall apply |
TalkerId |
TalkerId for which this filter applies |
Methods
SentenceMatch(String, NmeaSentence) |
True if this filter matches the given sentence and source |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for