ActionExecutedContext Konstruktory
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przeciążenia
ActionExecutedContext() |
Inicjuje nowe wystąpienie klasy ActionExecutedContext. |
ActionExecutedContext(ControllerContext, ActionDescriptor, Boolean, Exception) |
Inicjuje nowe wystąpienie klasy ActionExecutedContext. |
ActionExecutedContext()
Inicjuje nowe wystąpienie klasy ActionExecutedContext.
public ActionExecutedContext ();
Public Sub New ()
Dotyczy
ActionExecutedContext(ControllerContext, ActionDescriptor, Boolean, Exception)
Inicjuje nowe wystąpienie klasy ActionExecutedContext.
public ActionExecutedContext (System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ActionDescriptor actionDescriptor, bool canceled, Exception exception);
new System.Web.Mvc.ActionExecutedContext : System.Web.Mvc.ControllerContext * System.Web.Mvc.ActionDescriptor * bool * Exception -> System.Web.Mvc.ActionExecutedContext
Public Sub New (controllerContext As ControllerContext, actionDescriptor As ActionDescriptor, canceled As Boolean, exception As Exception)
Parametry
- controllerContext
- ControllerContext
Kontekst kontrolera.
- actionDescriptor
- ActionDescriptor
Deskryptor metody akcji.
- canceled
- Boolean
wartość true, jeśli akcja zostanie anulowana.
- exception
- Exception
Obiekt wyjątku.
Wyjątki
Parametr actionDescriptor
ma wartość null.