編輯

共用方式為


RoutingExtensionElement.RouteOnHeadersOnly Property

Definition

Gets or sets a value that indicates whether the filter is allowed to access only the message headers or the message headers and message body.

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

Property Value

true if the filter can only access header values; otherwise, false. The default is true.

Attributes

Applies to