• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# SessionStateItemExpireCallback类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中SessionStateItemExpireCallback的典型用法代码示例。如果您正苦于以下问题:C# SessionStateItemExpireCallback类的具体用法?C# SessionStateItemExpireCallback怎么用?C# SessionStateItemExpireCallback使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



SessionStateItemExpireCallback类属于命名空间,在下文中一共展示了SessionStateItemExpireCallback类的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: SetItemExpireCallback

 public override bool SetItemExpireCallback(SessionStateItemExpireCallback expireCallback)
 {
     return false;
 }
开发者ID:JasonSHD,项目名称:SaveASpot,代码行数:4,代码来源:MongoDBSessionStateProvider.cs


示例2: SetItemExpireCallback

 public override bool SetItemExpireCallback(SessionStateItemExpireCallback expireCallback)
 {
     _expireCallBack = expireCallback;
     return true;
 }
开发者ID:peschkaj,项目名称:CorrugatedIron.Samples,代码行数:5,代码来源:RiakSessionStateStore.cs


示例3: SetItemExpireCallback

 /// <summary>
 /// This method sets the reference for the ExpireCallback delegate if setting is enabled.
 /// </summary>
 /// <param name="expireCallback"></param>
 /// <returns>false </returns>
 public override bool SetItemExpireCallback(SessionStateItemExpireCallback expireCallback)
 {
   if (this.enableExpireCallback)
   {
     this.expireCallback = expireCallback;
     return true;
   }
   return false;
 }
开发者ID:eeeee,项目名称:mysql-connector-net,代码行数:14,代码来源:SessionProvider.cs


示例4: SetItemExpireCallback

 // Called by SessionStateModule to notify the provider that Session_End is defined
 // in global.asax, and so when an item expires, it should call the expireCallback
 // If the provider does not support session expiry, it should return false.
 public abstract bool SetItemExpireCallback(SessionStateItemExpireCallback expireCallback);
开发者ID:iskiselev,项目名称:JSIL.NetFramework,代码行数:4,代码来源:ISessionStateStore.cs


示例5: SetItemExpireCallback

        /// <summary>
        /// SessionStateProviderBase.SetItemExpireCallback
        /// </summary>
        public override bool SetItemExpireCallback(SessionStateItemExpireCallback expireCallback)
        {
            // Accept and store callback if session expire callback is enabled. If not, return false in order to inform SessionStateModule
            // the session expire callback is not supported.
            if (!m_enableExpireCallback)
                return false;

            m_expireCallback = expireCallback;
            return true;
        }
开发者ID:sztupy,项目名称:shaml,代码行数:13,代码来源:NHSessionStateStoreProvider.cs


示例6: SetItemExpireCallback

		public override bool SetItemExpireCallback (SessionStateItemExpireCallback expireCallback) {
			return true; //we call session.invalidate so our session listener will call Session_OnEnd
		}
开发者ID:KonajuGames,项目名称:SharpLang,代码行数:3,代码来源:ServletSessionStateStoreProvider.cs


示例7: SetItemExpireCallback

 public abstract virtual bool SetItemExpireCallback(SessionStateItemExpireCallback expireCallback)
 {
 }
开发者ID:Pengfei-Gao,项目名称:source-Insight-3-for-centos7,代码行数:3,代码来源:SessionStateStoreProviderBase.cs


示例8: SetItemExpireCallback

 public override bool SetItemExpireCallback(SessionStateItemExpireCallback expireCallback)
 {
     throw new NotImplementedException();
 }
开发者ID:tu226,项目名称:Eagle,代码行数:4,代码来源:MongoDBSessionStateStoreProvider.cs


示例9: SetItemExpireCallback

    } // End of the CreateNewStoreData method

    #endregion

    #region Update methods

    /// <summary>
    /// Set the callback for session expiration
    /// </summary>
    public override bool SetItemExpireCallback(SessionStateItemExpireCallback expireCallback)
    {
        return false;

    } // End of the SetItemExpireCallback method
开发者ID:raphaelivo,项目名称:a-webshop,代码行数:14,代码来源:SqlSessionStateProvider.cs


示例10: SetItemExpireCallback

		/// <summary>
		/// Sets a reference to the <see cref="T:System.Web.SessionState.SessionStateItemExpireCallback"></see> delegate for the Session_OnEnd event defined in the Global.asax file.
		/// </summary>
		/// <param name="expireCallback">The <see cref="T:System.Web.SessionState.SessionStateItemExpireCallback"></see>  delegate for the Session_OnEnd event defined in the Global.asax file.</param>
		/// <returns>
		/// true if the session-state store provider supports calling the Session_OnEnd event; otherwise, false.
		/// </returns>
		public override bool SetItemExpireCallback(SessionStateItemExpireCallback expireCallback)
		{
			throw new Exception("The method or operation is not implemented.");
		}
开发者ID:rajayaseelan,项目名称:mysoftsolution,代码行数:11,代码来源:IndexusProviderBase.cs



注:本文中的SessionStateItemExpireCallback类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# Set类代码示例发布时间:2022-05-24
下一篇:
C# SessionStateActions类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap