DefaultControllerFactory.GetControllerSessionBehavior 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
傳回控制器的工作階段行為。
protected internal virtual System.Web.SessionState.SessionStateBehavior GetControllerSessionBehavior (System.Web.Routing.RequestContext requestContext, Type controllerType);
abstract member GetControllerSessionBehavior : System.Web.Routing.RequestContext * Type -> System.Web.SessionState.SessionStateBehavior
override this.GetControllerSessionBehavior : System.Web.Routing.RequestContext * Type -> System.Web.SessionState.SessionStateBehavior
Protected Friend Overridable Function GetControllerSessionBehavior (requestContext As RequestContext, controllerType As Type) As SessionStateBehavior
參數
- requestContext
- RequestContext
要求內容。
- controllerType
- Type
控制器的型別。
傳回
控制器的工作階段行為。