FilteringCriterion(MessageTypeXL, FilterBehavior) Constructor

Initializes a filtering criterion for checking the type of a CAN XL message.

Definition

Namespace: Peak.Can.Basic
Assembly: PCANBasic.NET (in PCANBasic.NET.dll) Version: 5.1.0
C#
public FilteringCriterion(
	MessageTypeXL messageTypeFlags,
	FilterBehavior behavior = FilterBehavior.Include
)

Parameters

messageTypeFlags  MessageTypeXL
A value indicating the allowed frame types.

  Note

The value Standard has to be specified alone as a FilteringCriterion value, if standard messages are wanted to be discarded.
behavior  FilterBehavior  (Optional)
Indicates the operation to perform when a CAN message matches this criterion.

See Also