Property Length
Length
Gets the length of the stream.
Declaration
public override long Length { get; }
Property Value
| Type | Description |
|---|---|
| System.Int64 | This property specifies the length of the stream. |
Overrides
System.IO.Stream.Length
Exceptions
| Type | Condition |
|---|---|
| System.ObjectDisposedException | Stream is closed. |
| StreamAlreadyLockedException | Stream is already locked. |
| StreamInvalidLockException | Lock acquired by current stream has become invalid. |
| StreamNotFoundException | Stream is not found in the cache. |