Sdílet prostřednictvím


ValidateInputAttribute.OnAuthorization(AuthorizationContext) Metoda

Definice

Volá se, když se vyžaduje autorizace.

public virtual void OnAuthorization (System.Web.Mvc.AuthorizationContext filterContext);
abstract member OnAuthorization : System.Web.Mvc.AuthorizationContext -> unit
override this.OnAuthorization : System.Web.Mvc.AuthorizationContext -> unit
Public Overridable Sub OnAuthorization (filterContext As AuthorizationContext)

Parametry

filterContext
AuthorizationContext

Kontext filtru.

Implementuje

Výjimky

Parametr filterContext má hodnotu null.

Platí pro