ActionContext Sınıf

Tanım

HTTP isteğinin bir parçası olarak seçilmiş olan 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ş oluşturur ActionContext .

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

ActionDescriptorSeçili eylem için alır veya ayarlar.

HttpContext

HttpContextGeçerli istek için alır veya ayarlar.

ModelState

ModelStateDictionary öğesini alır.

RouteData

RouteDataGeçerli istek için alır veya ayarlar.

Şunlara uygulanır