SessionStateItemExpireCallback Delegate

Definition

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

public delegate void SessionStateItemExpireCallback(System::String ^ id, SessionStateStoreData ^ item);
public delegate void SessionStateItemExpireCallback(string id, SessionStateStoreData item);
type SessionStateItemExpireCallback = delegate of string * SessionStateStoreData -> unit
Public Delegate Sub SessionStateItemExpireCallback(id As String, item As SessionStateStoreData)

Parameters

id
String

The SessionID parameter of the session that is ending.

item
SessionStateStoreData

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

Remarks

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.

Extension Methods

GetMethodInfo(Delegate)

Gets an object that represents the method represented by the specified delegate.

Applies to

See also