Controller Methods

 

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

NameDescription
System_CAPS_protmethodBeginExecute(RequestContext, AsyncCallback, Object)

Begins execution of the specified request context

System_CAPS_protmethodBeginExecuteCore(AsyncCallback, Object)

Begins to invoke the action in the current controller context.

System_CAPS_protmethodContent(String)

Creates a content result object by using a string.

System_CAPS_protmethodContent(String, String)

Creates a content result object by using a string and the content type.

System_CAPS_protmethodContent(String, String, Encoding)

Creates a content result object by using a string, the content type, and content encoding.

System_CAPS_protmethodCreateActionInvoker()

Creates an action invoker.

System_CAPS_protmethodCreateTempDataProvider()

Creates a temporary data provider.

System_CAPS_pubmethodDispose()

Releases all resources that are used by the current instance of the Controller class.

System_CAPS_protmethodDispose(Boolean)

Releases unmanaged resources and optionally releases managed resources.

System_CAPS_protmethodEndExecute(IAsyncResult)

Ends the invocation of the action in the current controller context.

System_CAPS_protmethodEndExecuteCore(IAsyncResult)

Ends the execute core.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodExecute(RequestContext)

Executes the specified request context.(Inherited from ControllerBase.)

System_CAPS_protmethodExecuteCore()

Invokes the action in the current controller context.(Overrides ControllerBase.ExecuteCore().)

System_CAPS_protmethodFile(Byte[], String)

Creates a FileContentResult object by using the file contents and file type.

System_CAPS_protmethodFile(Byte[], String, String)

Creates a FileContentResult object by using the file contents, content type, and the destination file name.

System_CAPS_protmethodFile(Stream, String)

Creates a FileStreamResult object by using the Stream object and content type.

System_CAPS_protmethodFile(Stream, String, String)

Creates a FileStreamResult object using the Stream object, the content type, and the target file name.

System_CAPS_protmethodFile(String, String)

Creates a FilePathResult object by using the file name and the content type.

System_CAPS_protmethodFile(String, String, String)

Creates a FilePathResult object by using the file name, the content type, and the file download name.

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodHandleUnknownAction(String)

Called when a request matches this controller, but no method with the specified action name is found in the controller.

System_CAPS_protmethodHttpNotFound()

Returns an instance of the HttpNotFoundResult class.

System_CAPS_protmethodHttpNotFound(String)

Returns an instance of the HttpNotFoundResult class.

System_CAPS_protmethodInitialize(RequestContext)

Initializes data that might not be available when the constructor is called.(Overrides ControllerBase.Initialize(RequestContext).)

System_CAPS_protmethodJavaScript(String)

Creates a JavaScriptResult object.

System_CAPS_protmethodJson(Object)

Creates a JsonResult object that serializes the specified object to JavaScript Object Notation (JSON).

System_CAPS_protmethodJson(Object, JsonRequestBehavior)

Creates a JsonResult object that serializes the specified object to JavaScript Object Notation (JSON) format using the specified JSON request behavior.

System_CAPS_protmethodJson(Object, String)

Creates a JsonResult object that serializes the specified object to JavaScript Object Notation (JSON) format.

System_CAPS_protmethodJson(Object, String, Encoding)

Creates a JsonResult object that serializes the specified object to JavaScript Object Notation (JSON) format.

System_CAPS_protmethodJson(Object, String, Encoding, JsonRequestBehavior)

Creates a JsonResult object that serializes the specified object to JavaScript Object Notation (JSON) format using the content type, content encoding, and the JSON request behavior.

System_CAPS_protmethodJson(Object, String, JsonRequestBehavior)

Creates a JsonResult object that serializes the specified object to JavaScript Object Notation (JSON) format using the specified content type and JSON request behavior.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodOnActionExecuted(ActionExecutedContext)

Called after the action method is invoked.

System_CAPS_protmethodOnActionExecuting(ActionExecutingContext)

Called before the action method is invoked.

System_CAPS_protmethodOnAuthentication(AuthenticationContext)

Called when authorization occurs.

System_CAPS_protmethodOnAuthenticationChallenge(AuthenticationChallengeContext)

Called when authorization challenge occurs.

System_CAPS_protmethodOnAuthorization(AuthorizationContext)

Called when authorization occurs.

System_CAPS_protmethodOnException(ExceptionContext)

Called when an unhandled exception occurs in the action.

System_CAPS_protmethodOnResultExecuted(ResultExecutedContext)

Called after the action result that is returned by an action method is executed.

System_CAPS_protmethodOnResultExecuting(ResultExecutingContext)

Called before the action result that is returned by an action method is executed.

System_CAPS_protmethodPartialView()

Creates a PartialViewResult object that renders a partial view.

System_CAPS_protmethodPartialView(Object)

Creates a PartialViewResult object that renders a partial view, by using the specified model.

System_CAPS_protmethodPartialView(String)

Creates a PartialViewResult object that renders a partial view, by using the specified view name.

System_CAPS_protmethodPartialView(String, Object)

Creates a PartialViewResult object that renders a partial view, by using the specified view name and model.

System_CAPS_protmethodRedirect(String)

Creates a RedirectResult object that redirects to the specified URL.

System_CAPS_protmethodRedirectPermanent(String)

Returns an instance of the RedirectResult class with the Permanent property set to true.

System_CAPS_protmethodRedirectToAction(String)

Redirects to the specified action using the action name.

System_CAPS_protmethodRedirectToAction(String, Object)

Redirects to the specified action using the action name and route values.

System_CAPS_protmethodRedirectToAction(String, RouteValueDictionary)

Redirects to the specified action using the action name and route dictionary.

System_CAPS_protmethodRedirectToAction(String, String)

Redirects to the specified action using the action name and controller name.

System_CAPS_protmethodRedirectToAction(String, String, Object)

Redirects to the specified action using the action name, controller name, and route dictionary.

System_CAPS_protmethodRedirectToAction(String, String, RouteValueDictionary)

Redirects to the specified action using the action name, controller name, and route values.

System_CAPS_protmethodRedirectToActionPermanent(String)

Returns an instance of the RedirectResult class with the Permanent property set to true using the specified action name.

System_CAPS_protmethodRedirectToActionPermanent(String, Object)

Returns an instance of the RedirectResult class with the Permanent property set to true using the specified action name, and route values.

System_CAPS_protmethodRedirectToActionPermanent(String, RouteValueDictionary)

Returns an instance of the RedirectResult class with the Permanent property set to true using the specified action name, and route values.

System_CAPS_protmethodRedirectToActionPermanent(String, String)

Returns an instance of the RedirectResult class with the Permanent property set to true using the specified action name, and controller name.

System_CAPS_protmethodRedirectToActionPermanent(String, String, Object)

Returns an instance of the RedirectResult class with the Permanent property set to true using the specified action name, controller name, and route values.

System_CAPS_protmethodRedirectToActionPermanent(String, String, RouteValueDictionary)

Returns an instance of the RedirectResult class with the Permanent property set to true using the specified action name, controller name, and route values.

System_CAPS_protmethodRedirectToRoute(Object)

Redirects to the specified route using the specified route values.

System_CAPS_protmethodRedirectToRoute(RouteValueDictionary)

Redirects to the specified route using the route dictionary.

System_CAPS_protmethodRedirectToRoute(String)

Redirects to the specified route using the route name.

System_CAPS_protmethodRedirectToRoute(String, Object)

Redirects to the specified route using the route name and route values.

System_CAPS_protmethodRedirectToRoute(String, RouteValueDictionary)

Redirects to the specified route using the route name and route dictionary.

System_CAPS_protmethodRedirectToRoutePermanent(Object)

Returns an instance of the RedirectResult class with the Permanent property set to true using the specified route values.

System_CAPS_protmethodRedirectToRoutePermanent(RouteValueDictionary)

Returns an instance of the RedirectResult class with the Permanent property set to true using the specified route values.

System_CAPS_protmethodRedirectToRoutePermanent(String)

Returns an instance of the RedirectResult class with the Permanent property set to true using the specified route name.

System_CAPS_protmethodRedirectToRoutePermanent(String, Object)

Returns an instance of the RedirectResult class with the Permanent property set to true using the specified route name and route values.

System_CAPS_protmethodRedirectToRoutePermanent(String, RouteValueDictionary)

Returns an instance of the RedirectResult class with the Permanent property set to true using the specified route name and route values.

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_protmethodTryUpdateModel<TModel>(TModel)

Updates the specified model instance using values from the controller's current value provider.

System_CAPS_protmethodTryUpdateModel<TModel>(TModel, IValueProvider)

Updates the specified model instance using values from the value provider.

System_CAPS_protmethodTryUpdateModel<TModel>(TModel, String)

Updates the specified model instance using values from the controller's current value provider and a prefix.

System_CAPS_protmethodTryUpdateModel<TModel>(TModel, String, IValueProvider)

Updates the specified model instance using values from the value provider and a list of properties to include.

System_CAPS_protmethodTryUpdateModel<TModel>(TModel, String, String[])

Updates the specified model instance using values from the controller's current value provider, a prefix, and included properties.

System_CAPS_protmethodTryUpdateModel<TModel>(TModel, String, String[], IValueProvider)

Updates the specified model instance using values from the value provider, a prefix, and included properties.

System_CAPS_protmethodTryUpdateModel<TModel>(TModel, String, String[], String[])

Updates the specified model instance using values from the controller's current value provider, a prefix, a list of properties to exclude, and a list of properties to include.

System_CAPS_protmethodTryUpdateModel<TModel>(TModel, String, String[], String[], IValueProvider)

Updates the specified model instance using values from the value provider, a prefix, a list of properties to exclude , and a list of properties to include.

System_CAPS_protmethodTryUpdateModel<TModel>(TModel, String[])

Updates the specified model instance using values from the controller's current value provider and included properties.

System_CAPS_protmethodTryUpdateModel<TModel>(TModel, String[], IValueProvider)

Updates the specified model instance using values from the value provider and a list of properties to include.

System_CAPS_protmethodTryValidateModel(Object)

Validates the specified model instance.

System_CAPS_protmethodTryValidateModel(Object, String)

Validates the specified model instance using an HTML prefix.

System_CAPS_protmethodUpdateModel<TModel>(TModel)

Updates the specified model instance using values from the controller's current value provider.

System_CAPS_protmethodUpdateModel<TModel>(TModel, IValueProvider)

Updates the specified model instance using values from the value provider.

System_CAPS_protmethodUpdateModel<TModel>(TModel, String)

Updates the specified model instance using values from the controller's current value provider and a prefix.

System_CAPS_protmethodUpdateModel<TModel>(TModel, String, IValueProvider)

Updates the specified model instance using values from the value provider, a prefix, and a list of properties to include.

System_CAPS_protmethodUpdateModel<TModel>(TModel, String, String[])

Updates the specified model instance using values from the controller's current value provider, a prefix, and included properties.

System_CAPS_protmethodUpdateModel<TModel>(TModel, String, String[], IValueProvider)

Updates the specified model instance using values from the value provider, a prefix, and a list of properties to include.

System_CAPS_protmethodUpdateModel<TModel>(TModel, String, String[], String[])

Updates the specified model instance using values from the controller's current value provider, a prefix, a list of properties to exclude, and a list of properties to include.

System_CAPS_protmethodUpdateModel<TModel>(TModel, String, String[], String[], IValueProvider)

Updates the specified model instance using values from the value provider, a prefix, a list of properties to exclude, and a list of properties to include.

System_CAPS_protmethodUpdateModel<TModel>(TModel, String[])

Updates the specified model instance using values from the controller object's current value provider.

System_CAPS_protmethodUpdateModel<TModel>(TModel, String[], IValueProvider)

Updates the specified model instance using values from the value provider, a prefix, and a list of properties to include.

System_CAPS_protmethodValidateModel(Object)

Validates the specified model instance.

System_CAPS_protmethodValidateModel(Object, String)

Validates the specified model instance using an HTML prefix.

System_CAPS_protmethodView()

Creates a ViewResult object that renders a view to the response.

System_CAPS_protmethodView(IView)

Creates a ViewResult object that renders the specified IView object.

System_CAPS_protmethodView(IView, Object)

Creates a ViewResult object that renders the specified IView object.

System_CAPS_protmethodView(Object)

Creates a ViewResult object by using the model that renders a view to the response.

System_CAPS_protmethodView(String)

Creates a ViewResult object by using the view name that renders a view.

System_CAPS_protmethodView(String, Object)

Creates a ViewResult object that renders the specified IView object.

System_CAPS_protmethodView(String, String)

Creates a ViewResult object using the view name and master-page name that renders a view to the response.

System_CAPS_protmethodView(String, String, Object)

Creates a ViewResult object using the view name, master-page name, and model that renders a view.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIAsyncController.BeginExecute(RequestContext, AsyncCallback, Object)

This method calls the BeginExecute method.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIAsyncController.EndExecute(IAsyncResult)

This method calls the EndExecute method.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIAuthenticationFilter.OnAuthentication(AuthenticationContext)

This method calls the OnAuthentication method.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIAuthenticationFilter.OnAuthenticationChallenge(AuthenticationChallengeContext)

This method calls the OnAuthenticationChallenge method.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIActionFilter.OnActionExecuted(ActionExecutedContext)

This method calls the OnActionExecuted method.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIActionFilter.OnActionExecuting(ActionExecutingContext)

This method calls the OnActionExecuting method.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIAuthorizationFilter.OnAuthorization(AuthorizationContext)

This method calls the OnAuthorization method.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIController.Execute(RequestContext)

Executes the specified request context.(Inherited from ControllerBase.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIExceptionFilter.OnException(ExceptionContext)

This method calls the OnException method.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIResultFilter.OnResultExecuted(ResultExecutedContext)

This method calls the OnResultExecuted method.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIResultFilter.OnResultExecuting(ResultExecutingContext)

This method calls the OnResultExecuting method.

Return to top
Show: