Share via


IHttpSessionState.IsNewSession Özellik

Tanım

Oturumun geçerli istekle oluşturulup oluşturulmadığını belirten bir değer alır.

public:
 property bool IsNewSession { bool get(); };
public bool IsNewSession { get; }
member this.IsNewSession : bool
Public ReadOnly Property IsNewSession As Boolean

Özellik Değeri

true oturum geçerli istekle oluşturulduysa; aksi takdirde , false.

Örnekler

Aşağıdaki kod örneği arabiriminin IsNewSessionIHttpSessionState özelliğini uygular.

public bool IsNewSession
{
  get { return pNewSession; }
}
Public ReadOnly Property IsNewSession As Boolean Implements IHttpSessionState.IsNewSession
  Get
    Return pNewSession
  End Get
End Property

Şunlara uygulanır

Ayrıca bkz.