Επεξεργασία

Κοινή χρήση μέσω


IHttpSessionState.Mode Property

Definition

Gets the current session-state mode.

public:
 property System::Web::SessionState::SessionStateMode Mode { System::Web::SessionState::SessionStateMode get(); };
public System.Web.SessionState.SessionStateMode Mode { get; }
member this.Mode : System.Web.SessionState.SessionStateMode
Public ReadOnly Property Mode As SessionStateMode

Property Value

One of the SessionStateMode values.

Examples

The following code example implements the Mode property of the IHttpSessionState interface.

public SessionStateMode Mode
{
  get { return pMode; }
}
Public ReadOnly Property Mode As SessionStateMode Implements IHttpSessionState.Mode    
  Get
    Return pMode
  End Get
End Property

Remarks

For information on different session-state modes, see Session-State Modes.

Applies to

See also