Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

RoutingBehavior Class

.NET Framework 4.6 and 4.5

Defines the routing behavior, which is used to configure the destination endpoints, filters and filtering options to be used during routing.


Namespace:  System.ServiceModel.Routing
Assembly:  System.ServiceModel.Routing (in System.ServiceModel.Routing.dll)

public sealed class RoutingBehavior : IServiceBehavior

The RoutingBehavior type exposes the following members.

Public methodRoutingBehaviorCreates a new instance of the RoutingBehavior class with the specified routing configuration.

Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodStatic memberGetContractForDescriptionGets the contract type for the specified ContractDescription.
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Explicit interface implemetationPrivate methodIServiceBehavior.AddBindingParametersImplements the AddBindingParameters method to support the behavior.
Explicit interface implemetationPrivate methodIServiceBehavior.ApplyDispatchBehaviorImplements the ApplyDispatchBehavior method to support the behavior.
Explicit interface implemetationPrivate methodIServiceBehavior.ValidateImplements the Validate method to support the behavior.

The RoutingBehavior registers all of the run-time components used by the routing service, including the channel initializer, SoapProcessingBehavior, and the RoutingExtension.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft