AsyncController Methods
Visual Studio 2010
The AsyncController type exposes the following members.
| Name | Description | |
|---|---|---|
|
BeginExecute | Called by ASP.NET to initialize asynchronous request processing. |
|
BeginExecuteCore | Called by ASP.NET during initialization of asynchronous request processing. |
|
Content(String) | Creates a content result object by using a string. (Inherited from Controller.) |
|
Content(String, String) | Creates a content result object by using a string and the content type. (Inherited from Controller.) |
|
Content(String, String, Encoding) | Creates a content result object by using a string, the content type, and content encoding. (Inherited from Controller.) |
|
CreateActionInvoker | Creates an action invoker. (Overrides Controller::CreateActionInvoker().) |
|
CreateTempDataProvider | Creates a temporary data provider. (Inherited from Controller.) |
|
Dispose() | Releases all resources that are used by the current instance of the Controller class. (Inherited from Controller.) |
|
Dispose(Boolean) | Releases unmanaged resources and optionally releases managed resources. (Inherited from Controller.) |
|
EndExecute | Cancels the execution of an asynchronous action method. |
|
EndExecuteCore | Called by ASP.NET when the current asynchronous action has completed. |
|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Execute | Executes the specified request context. (Inherited from ControllerBase.) |
|
ExecuteCore | Invokes the action in the current controller context. (Inherited from Controller.) |
|
File(array<Byte>, String) | Creates a FileContentResult object by using the file contents and file type. (Inherited from Controller.) |
|
File(Stream, String) | Creates a FileStreamResult object by using the Stream object and content type. (Inherited from Controller.) |
|
File(String, String) | Creates a FilePathResult object by using the file name and the content type. (Inherited from Controller.) |
|
File(array<Byte>, String, String) | Creates a FileContentResult object by using the file contents, content type, and the destination file name. (Inherited from Controller.) |
|
File(Stream, String, String) | Creates a FileStreamResult object using the Stream object, the content type, and the target file name. (Inherited from Controller.) |
|
File(String, String, String) | Creates a FilePathResult object by using the file name, the content type, and the file download name. (Inherited from Controller.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
HandleUnknownAction | Called when a request matches this controller, but no method with the specified action name is found in the controller. (Inherited from Controller.) |
|
Initialize | Initializes data that might not be available when the constructor is called. (Inherited from Controller.) |
|
JavaScript | Creates a JavaScriptResult object. (Inherited from Controller.) |
|
Json(Object) | Creates a JsonResult object that serializes the specified object to JavaScript Object Notation (JSON). (Inherited from Controller.) |
|
Json(Object, String) | Creates a JsonResult object that serializes the specified object to JavaScript Object Notation (JSON) format. (Inherited from Controller.) |
|
Json(Object, JsonRequestBehavior) | Creates a JsonResult object that serializes the specified object to JavaScript Object Notation (JSON) format using the specified JSON request behavior. (Inherited from Controller.) |
|
Json(Object, String, Encoding) | Creates a JsonResult object that serializes the specified object to JavaScript Object Notation (JSON) format. (Inherited from Controller.) |
|
Json(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. (Inherited from Controller.) |
|
Json(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. (Inherited from Controller.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
OnActionExecuted | Called after the action method is invoked. (Inherited from Controller.) |
|
OnActionExecuting | Called before the action method is invoked. (Inherited from Controller.) |
|
OnAuthorization | Called when authorization occurs. (Inherited from Controller.) |
|
OnException | Called when an unhandled exception occurs in the action. (Inherited from Controller.) |
|
OnResultExecuted | Called after the action result that is returned by an action method is executed. (Inherited from Controller.) |
|
OnResultExecuting | Called before the action result that is returned by an action method is executed. (Inherited from Controller.) |
|
PartialView() | Creates a PartialViewResult object that renders a partial view. (Inherited from Controller.) |
|
PartialView(Object) | Creates a PartialViewResult object that renders a partial view, by using the specified model. (Inherited from Controller.) |
|
PartialView(String) | Creates a PartialViewResult object that renders a partial view, by using the specified view name. (Inherited from Controller.) |
|
PartialView(String, Object) | Creates a PartialViewResult object that renders a partial view, by using the specified view name and model. (Inherited from Controller.) |
|
Redirect | Creates a RedirectResult object that redirects to the specified URL. (Inherited from Controller.) |
|
RedirectToAction(String) | Redirects to the specified action using the action name. (Inherited from Controller.) |
|
RedirectToAction(String, Object) | Redirects to the specified action using the action name and route values. (Inherited from Controller.) |
|
RedirectToAction(String, String) | Redirects to the specified action using the action name and controller name. (Inherited from Controller.) |
|
RedirectToAction(String, RouteValueDictionary) | Redirects to the specified action using the action name and route dictionary. (Inherited from Controller.) |
|
RedirectToAction(String, String, Object) | Redirects to the specified action using the action name, controller name, and route values. (Inherited from Controller.) |
|
RedirectToAction(String, String, RouteValueDictionary) | Redirects to the specified action using the action name, controller name, and route dictionary. (Inherited from Controller.) |
|
RedirectToRoute(Object) | Redirects to the specified route using the specified route values. (Inherited from Controller.) |
|
RedirectToRoute(String) | Redirects to the specified route using the route name. (Inherited from Controller.) |
|
RedirectToRoute(RouteValueDictionary) | Redirects to the specified route using the route dictionary. (Inherited from Controller.) |
|
RedirectToRoute(String, Object) | Redirects to the specified route using the route name and route values. (Inherited from Controller.) |
|
RedirectToRoute(String, RouteValueDictionary) | Redirects to the specified route using the route name and route dictionary. (Inherited from Controller.) |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
|
TryUpdateModel<TModel>(TModel) | Updates the specified model instance using values from the controller's current value provider. (Inherited from Controller.) |
|
TryUpdateModel<TModel>(TModel, String) | Updates the specified model instance using values from the controller's current value provider and a prefix. (Inherited from Controller.) |
|
TryUpdateModel<TModel>(TModel, array<String>) | Updates the specified model instance using values from the controller's current value provider and included properties. (Inherited from Controller.) |
|
TryUpdateModel<TModel>(TModel, IValueProvider) | Updates the specified model instance using values from the value provider. (Inherited from Controller.) |
|
TryUpdateModel<TModel>(TModel, String, array<String>) | Updates the specified model instance using values from the controller's current value provider, a prefix, and included properties. (Inherited from Controller.) |
|
TryUpdateModel<TModel>(TModel, String, IValueProvider) | Updates the specified model instance using values from the value provider and a prefix. (Inherited from Controller.) |
|
TryUpdateModel<TModel>(TModel, array<String>, IValueProvider) | Updates the specified model instance using values from the value provider and a list of properties to include. (Inherited from Controller.) |
|
TryUpdateModel<TModel>(TModel, String, array<String>, array<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. (Inherited from Controller.) |
|
TryUpdateModel<TModel>(TModel, String, array<String>, IValueProvider) | Updates the specified model instance using values from the value provider, a prefix, and included properties. (Inherited from Controller.) |
|
TryUpdateModel<TModel>(TModel, String, array<String>, array<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. (Inherited from Controller.) |
|
TryValidateModel(Object) | Validates the specified model instance. (Inherited from Controller.) |
|
TryValidateModel(Object, String) | Validates the specified model instance using an HTML prefix. (Inherited from Controller.) |
|
UpdateModel<TModel>(TModel) | Updates the specified model instance using values from the controller's current value provider. (Inherited from Controller.) |
|
UpdateModel<TModel>(TModel, String) | Updates the specified model instance using values from the controller's current value provider and a prefix. (Inherited from Controller.) |
|
UpdateModel<TModel>(TModel, array<String>) | Updates the specified model instance using values from the controller object's current value provider. (Inherited from Controller.) |
|
UpdateModel<TModel>(TModel, IValueProvider) | Updates the specified model instance using values from the value provider. (Inherited from Controller.) |
|
UpdateModel<TModel>(TModel, String, array<String>) | Updates the specified model instance using values from the controller's current value provider, a prefix, and included properties. (Inherited from Controller.) |
|
UpdateModel<TModel>(TModel, String, IValueProvider) | Updates the specified model instance using values from the value provider and a prefix. (Inherited from Controller.) |
|
UpdateModel<TModel>(TModel, array<String>, IValueProvider) | Updates the specified model instance using values from the value provider, a prefix, and a list of properties to include. (Inherited from Controller.) |
|
UpdateModel<TModel>(TModel, String, array<String>, array<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. (Inherited from Controller.) |
|
UpdateModel<TModel>(TModel, String, array<String>, IValueProvider) | Updates the specified model instance using values from the value provider, a prefix, and a list of properties to include. (Inherited from Controller.) |
|
UpdateModel<TModel>(TModel, String, array<String>, array<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. (Inherited from Controller.) |
|
ValidateModel(Object) | Validates the specified model instance. (Inherited from Controller.) |
|
ValidateModel(Object, String) | Validates the specified model instance using an HTML prefix. (Inherited from Controller.) |
|
View() | Creates a ViewResult object that renders a view to the response. (Inherited from Controller.) |
|
View(Object) | Creates a ViewResult object by using the model that renders a view to the response. (Inherited from Controller.) |
|
View(String) | Creates a ViewResult object by using the view name that renders a view. (Inherited from Controller.) |
|
View(IView) | Creates a ViewResult object that renders the specified IView object. (Inherited from Controller.) |
|
View(String, Object) | Creates a ViewResult object by using the view name and model that renders a view to the response. (Inherited from Controller.) |
|
View(String, String) | Creates a ViewResult object using the view name and master-page name that renders a view to the response. (Inherited from Controller.) |
|
View(IView, Object) | Creates a ViewResult object that renders the specified IView object. (Inherited from Controller.) |
|
View(String, String, Object) | Creates a ViewResult object using the view name, master-page name, and model that renders a view. (Inherited from Controller.) |
| Name | Description | |
|---|---|---|
|
IActionFilter::OnActionExecuted | This API supports the MVC infrastructure and is not intended to be used directly from your code. This method calls the OnActionExecuted method. (Inherited from Controller.) |
|
IActionFilter::OnActionExecuting | This API supports the MVC infrastructure and is not intended to be used directly from your code. This method calls the OnActionExecuting method. (Inherited from Controller.) |
|
IAsyncController::BeginExecute | Called by ASP.NET to begin the execution of an asynchronous action method. |
|
IAsyncController::EndExecute | Cancels the execution of an asynchronous action method by ASP.NET at the end of the execution of an asynchronous action method. |
|
IAuthorizationFilter::OnAuthorization | This API supports the MVC infrastructure and is not intended to be used directly from your code. This method calls the OnAuthorization method. (Inherited from Controller.) |
|
IController::Execute | Executes the specified request context. (Inherited from ControllerBase.) |
|
IExceptionFilter::OnException | This API supports the MVC infrastructure and is not intended to be used directly from your code. This method calls the OnException method. (Inherited from Controller.) |
|
IResultFilter::OnResultExecuted | This API supports the MVC infrastructure and is not intended to be used directly from your code. This method calls the OnResultExecuted method. (Inherited from Controller.) |
|
IResultFilter::OnResultExecuting | This API supports the MVC infrastructure and is not intended to be used directly from your code. This method calls the OnResultExecuting method. (Inherited from Controller.) |
Community Additions
ADD
Show: