Redigera

Dela via


IHttpSessionState.IsSynchronized Property

Definition

Gets a value indicating whether access to the collection of session-state values is synchronized (thread safe).

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

Property Value

true if access to the collection is synchronized (thread safe); otherwise, false.

Examples

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

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

Applies to

See also