StreamAlreadLockedException is thrown if stream is already locked.

Namespace: Alachisoft.NCache.Runtime.Exceptions
Assembly: Alachisoft.NCache.Runtime (in Alachisoft.NCache.Runtime.dll) Version: 4.1.0.0 (4.1.0.0)

Syntax

C#
[SerializableAttribute]
public class StreamAlreadyLockedException : StreamException, 
	ISerializable
Visual Basic
<SerializableAttribute> _
Public Class StreamAlreadyLockedException _
	Inherits StreamException _
	Implements ISerializable
Visual C++
[SerializableAttribute]
public ref class StreamAlreadyLockedException : public StreamException, 
	ISerializable

Remarks

CacheStream opened for reading or writing mode acquires read or writer lock. If stream is already opened with reader/writer lock then this exception is thrown.

Inheritance Hierarchy

System..::..Object
  System..::..Exception
    Alachisoft.NCache.Runtime.Exceptions..::..CacheException
      Alachisoft.NCache.Runtime.Exceptions..::..StreamException
        Alachisoft.NCache.Runtime.Exceptions..::..StreamAlreadyLockedException

See Also