ActionContext Sınıf

Tanım

BIR HTTP isteğinin parçası olarak seçilen eylemin yürütülmesi için bağlam nesnesi.

public ref class ActionContext
public class ActionContext
type ActionContext = class
Public Class ActionContext
Devralma
ActionContext
Türetilmiş

Oluşturucular

ActionContext()

Boş ActionContextbir oluşturur.

ActionContext(ActionContext)

Yeni bir ActionContext oluşturur.

ActionContext(HttpContext, RouteData, ActionDescriptor)

Yeni bir ActionContext oluşturur.

ActionContext(HttpContext, RouteData, ActionDescriptor, ModelStateDictionary)

Yeni bir ActionContext oluşturur.

Özellikler

ActionDescriptor

Seçili eylem için öğesini ActionDescriptor alır veya ayarlar.

HttpContext

Geçerli istek için öğesini HttpContext alır veya ayarlar.

ModelState

ModelStateDictionary öğesini alır.

RouteData

Geçerli istek için öğesini RouteData alır veya ayarlar.

Şunlara uygulanır