共用方式為


Controller.IAuthenticationFilter.OnAuthenticationChallenge 方法

定義

這個方法會在呼叫 OnAuthenticationChallenge 方法。

void IAuthenticationFilter.OnAuthenticationChallenge (System.Web.Mvc.Filters.AuthenticationChallengeContext filterContext);
abstract member System.Web.Mvc.Filters.IAuthenticationFilter.OnAuthenticationChallenge : System.Web.Mvc.Filters.AuthenticationChallengeContext -> unit
override this.System.Web.Mvc.Filters.IAuthenticationFilter.OnAuthenticationChallenge : System.Web.Mvc.Filters.AuthenticationChallengeContext -> unit
Sub OnAuthenticationChallenge (filterContext As AuthenticationChallengeContext) Implements IAuthenticationFilter.OnAuthenticationChallenge

參數

filterContext
AuthenticationChallengeContext

篩選內容。

實作

適用於