RoutingExtensionElement.RouteOnHeadersOnly 属性

定义

获取或设置一个值,该值指示是只允许筛选器访问消息标头,还是允许筛选器访问消息标头和消息正文。

public:
 property bool RouteOnHeadersOnly { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("routeOnHeadersOnly", DefaultValue=true, Options=System.Configuration.ConfigurationPropertyOptions.None)]
public bool RouteOnHeadersOnly { get; set; }
[<System.Configuration.ConfigurationProperty("routeOnHeadersOnly", DefaultValue=true, Options=System.Configuration.ConfigurationPropertyOptions.None)>]
member this.RouteOnHeadersOnly : bool with get, set
Public Property RouteOnHeadersOnly As Boolean

属性值

Boolean

true 如果筛选器只能访问标头值,则为;否则为 false 。 默认值为 true

属性

适用于