StreamAlreadLockedException is thrown if stream is already locked.

Namespace: Alachisoft.NCache.Runtime.Exceptions
Assembly: Alachisoft.NCache.Runtime (in Alachisoft.NCache.Runtime.dll) Version: 4.3.0.0 (4.3.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