Export (0) Print
Expand All

DynamicDataRoute.GetActionFromRouteData Method

Returns the action from the RouteData object for the current Dynamic Data Web request.

Namespace:  System.Web.DynamicData
Assembly:  System.Web.DynamicData (in System.Web.DynamicData.dll)

public string GetActionFromRouteData(
	RouteData routeData
)

Parameters

routeData
Type: System.Web.Routing.RouteData
The route data that pertains to the current request. For more information, see GetRouteData.

Return Value

Type: System.String
The action. For a list of possible values, see System.Web.DynamicData.PageAction.

ExceptionCondition
InvalidOperationException

The action was not found in the Web request routing information.

.NET Framework

Supported in: 4, 3.5 SP1

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

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Community Additions

ADD
Show:
© 2015 Microsoft