当前位置: 首页>>代码示例>>C#>>正文


C# SessionStateItemExpireCallback类代码示例

本文整理汇总了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;未经允许,请勿转载。