Class StreamAlreadyLockedException
StreamAlreadyLockedException is thrown if a stream is already locked.
Inheritance
System.Object
System.Exception
StreamAlreadyLockedException
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
[Serializable]
public class StreamAlreadyLockedException : StreamException, _Exception, 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.
Constructors
Name | Description |
---|---|
StreamAlreadyLockedException() | Default constructor. |
StreamAlreadyLockedException(Int32) | Default constructor with errorCode |
StreamAlreadyLockedException(Int32, String) | Default constructor with error code and message |
StreamAlreadyLockedException(SerializationInfo, StreamingContext) | Overloaded constructor, manual serialization. |