Enables the creation of service routes over HTTP for WCF Services with support for extension-less base addresses.
Assembly: System.ServiceModel.Activation (in System.ServiceModel.Activation.dll)
Thetype exposes the following members.
|Constraints||Gets or sets a dictionary of expressions that specify valid values for a URL parameter. (Inherited from Route.)|
|DataTokens||Gets or sets custom values that are passed to the route handler, but which are not used to determine whether the route matches a URL pattern. (Inherited from Route.)|
|Defaults||Gets or sets the values to use if the URL does not contain all the parameters. (Inherited from Route.)|
|RouteHandler||Gets or sets the object that processes requests for the route. (Inherited from Route.)|
|Url||Gets or sets the URL pattern for the route. (Inherited from Route.)|
|Equals(Object)||Determines whether the specified Object is equal to the current Object. (Inherited from Object.)|
|GetHashCode||Serves as a hash function for a particular type. (Inherited from Object.)|
|GetRouteData||Returns information about the requested route. (Inherited from Route.)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|GetVirtualPath||Returns information about the URL that is associated with the route. (Inherited from Route.)|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|ProcessConstraint||Determines whether a parameter value matches the constraint for that parameter. (Inherited from Route.)|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
is derived from Route. When the constructor is called, will add the corresponding route prefix (url pattern) and a (hidden) route handler to the ASP.NET RouteCollection, and cache the corresponding route prefix, service host factory and service type info into an internal hash table for future service activation. Note: if developers directly manipulate the route collection on a which has been added to the collection, the change may not be granted by . For more information about changing elements in a route collection, see RouteCollection. It is recommended that developers define all in the global.asax file and do not remove a from the RouteCollection dynamically.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2