Bagikan melalui


IHttpSessionState.IsSynchronized Properti

Definisi

Mendapatkan nilai yang menunjukkan apakah akses ke pengumpulan nilai keadaan sesi disinkronkan (utas aman).

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

Nilai Properti

true jika akses ke koleksi disinkronkan (utas aman); jika tidak, false.

Contoh

Contoh kode berikut mengimplementasikan IsSynchronized properti IHttpSessionState antarmuka.

public bool IsSynchronized
{
  get { return false; }
}
Public ReadOnly Property IsSynchronized As Boolean Implements IHttpSessionState.IsSynchronized    
  Get
    Return False
  End Get
End Property

Berlaku untuk

Lihat juga