Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

RouteFactoryAttribute Class

 

Represents an attribute route that may contain custom constraints.

Namespace:   System.Web.Http.Routing
Assembly:  System.Web.Http (in System.Web.Http.dll)

System::Object
  System::Attribute
    System.Web.Http.Routing::RouteFactoryAttribute

[AttributeUsageAttribute(AttributeTargets::Class | AttributeTargets::Method, 
	Inherited = false, AllowMultiple = true)]
public ref class RouteFactoryAttribute abstract : Attribute, 
	IDirectRouteFactory

NameDescription
System_CAPS_protmethodRouteFactoryAttribute(String^)

Initializes a new instance of the RouteFactoryAttribute class.

NameDescription
System_CAPS_pubpropertyConstraints

Gets the route constraints, if any; otherwise null.

System_CAPS_pubpropertyDataTokens

Gets the route data tokens, if any; otherwise null.

System_CAPS_pubpropertyDefaults

Gets the route defaults, if any; otherwise null.

System_CAPS_pubpropertyName

Gets or sets the route name, if any; otherwise null.

System_CAPS_pubpropertyOrder

Gets or sets the route order.

System_CAPS_pubpropertyTemplate

Gets the route template.

System_CAPS_pubpropertyTypeId

(Inherited from Attribute.)

NameDescription
System_CAPS_pubmethodCreateRoute(DirectRouteFactoryContext^)

Creates the route entry

System_CAPS_pubmethodEquals(Object^)

(Inherited from Attribute.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Attribute.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsDefaultAttribute()

(Inherited from Attribute.)

System_CAPS_pubmethodMatch(Object^)

(Inherited from Attribute.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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

Return to top
Show: