This documentation is archived and is not being maintained.
DynamicDataRoute::GetActionFromRouteData Method
Visual Studio 2010
Returns the action from the RouteData object for the current Dynamic Data Web request.
Assembly: System.Web.DynamicData (in System.Web.DynamicData.dll)
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::StringThe action. For a list of possible values, see System.Web.DynamicData::PageAction.
| Exception | Condition |
|---|---|
| InvalidOperationException | The action was not found in the Web request routing information. |
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.
Show: