Редагувати

Поділитися через


RoutingBehavior Class

Definition

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

public ref class RoutingBehavior sealed : System::ServiceModel::Description::IServiceBehavior
public sealed class RoutingBehavior : System.ServiceModel.Description.IServiceBehavior
type RoutingBehavior = class
    interface IServiceBehavior
Public NotInheritable Class RoutingBehavior
Implements IServiceBehavior
Inheritance
RoutingBehavior
Implements

Remarks

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

Constructors

RoutingBehavior(RoutingConfiguration)

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

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetContractForDescription(ContractDescription)

Gets the contract type for the specified ContractDescription.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

IServiceBehavior.AddBindingParameters(ServiceDescription, ServiceHostBase, Collection<ServiceEndpoint>, BindingParameterCollection)

Implements the AddBindingParameters(ServiceDescription, ServiceHostBase, Collection<ServiceEndpoint>, BindingParameterCollection) method to support the behavior.

IServiceBehavior.ApplyDispatchBehavior(ServiceDescription, ServiceHostBase)

Implements the ApplyDispatchBehavior(ServiceDescription, ServiceHostBase) method to support the behavior.

IServiceBehavior.Validate(ServiceDescription, ServiceHostBase)

Implements the Validate(ServiceDescription, ServiceHostBase) method to support the behavior.

Applies to