Click or drag to resize
RouteCollectionExtensionsMapActivitiesRoutes Method

Note: This API is now obsolete.

Adds Activities routes.

Namespace: Kentico.Activities.Web.Mvc
Assembly: Kentico.OnlineMarketing.Web.Mvc (in Kentico.OnlineMarketing.Web.Mvc.dll) Version: 12.0.0
Syntax
C#
[ObsoleteAttribute("Use Kentico.Activities.Web.Mvc.ApplicationBuilderExtensions.UseActivityTracking() to enable the activity tracking feature. The routes are registered automatically as part of the feature.")]
public static void MapActivitiesRoutes(
	this ExtensionPoint<RouteCollection> extensionPoint
)

Parameters

extensionPoint
Type: Kentico.Web.MvcExtensionPointRouteCollection
The object that provides methods to add Kentico Activities routes.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ExtensionPointRouteCollection. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions
ExceptionCondition
ArgumentNullExceptionextensionPoint is null.
Remarks
Routes are fixed with namespace prefix.
See Also