Bagikan melalui


IHttpSessionState.Mode Properti

Definisi

Mendapatkan mode keadaan sesi saat ini.

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

Nilai Properti

Salah SessionStateMode satu nilai.

Contoh

Contoh kode berikut mengimplementasikan Mode properti IHttpSessionState antarmuka.

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

Keterangan

Untuk informasi tentang mode keadaan sesi yang berbeda, lihat Mode Status Sesi.

Berlaku untuk

Lihat juga