SessionStateItemExpireCallback Delegate

SessionStateItemExpireCallback Delegate

Represents the method that handles the End event of a session-state module.

Namespace:  System.Web.SessionState
Assembly:  System.Web (in System.Web.dll)

'Declaration
Public Delegate Sub SessionStateItemExpireCallback ( _
	id As String, _
	item As SessionStateStoreData _
)
'Usage
Dim instance As New SessionStateItemExpireCallback(AddressOf HandlerMethod)

Parameters

id
Type: System.String

The SessionID parameter of the session that is ending.

item
Type: System.Web.SessionState.SessionStateStoreData

A SessionStateStoreData object containing the session-state data for the session that is ending.

The SessionStateItemExpireCallback delegate is used to enable a SessionStateStoreProviderBase implementation to call the Session_OnEnd event from the Global.asax file.

For more information, see the remarks provided for the SetItemExpireCallback method.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0

Community Additions

ADD
Show:
© 2016 Microsoft