ActionContext Klasse

Definition

Kontextobjekt für die Ausführung einer Aktion, die als Teil einer HTTP-Anforderung ausgewählt wurde.

public ref class ActionContext
public class ActionContext
type ActionContext = class
Public Class ActionContext
Vererbung
ActionContext
Abgeleitet

Konstruktoren

ActionContext()

Erstellt ein leeres ActionContext.

ActionContext(ActionContext)

Erstellt einen neuen ActionContext.

ActionContext(HttpContext, RouteData, ActionDescriptor)

Erstellt einen neuen ActionContext.

ActionContext(HttpContext, RouteData, ActionDescriptor, ModelStateDictionary)

Erstellt einen neuen ActionContext.

Eigenschaften

ActionDescriptor

Ruft die für die ActionDescriptor ausgewählte Aktion ab oder legt dieses fest.

HttpContext

Ruft den für die HttpContext aktuelle Anforderung ab oder legt dieses fest.

ModelState

Ruft das ModelStateDictionary ab.

RouteData

Ruft den für die RouteData aktuelle Anforderung ab oder legt dieses fest.

Gilt für: