IHttpSessionState.IsNewSession Özellik
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
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.
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.