RoutingConfiguration.RouteOnHeadersOnly 属性

定义

获取或设置一个值,该值指示筛选器是否能检查消息正文。Gets or sets a value that indicates whether the filter can examine the message body.

public:
 property bool RouteOnHeadersOnly { bool get(); void set(bool value); };
public bool RouteOnHeadersOnly { get; set; }
member this.RouteOnHeadersOnly : bool with get, set
Public Property RouteOnHeadersOnly As Boolean

属性值

Boolean

如果筛选器只能检查消息标头,则为 true;否则为 falsetrue if the filter can only examine message headers; otherwise, false. 默认为 trueThe default is true.

适用于