Synced
ContentReadLease.OpenRead
Section titled “ContentReadLease.OpenRead”
- Opens a new independently pinned stream without transferring this lease’s ownership.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Content
Declaration
Section titled “Declaration”public System.IO.Stream Inno.Content.ContentReadLease.OpenRead()Returns
Section titled “Returns”A caller-owned stream; disposing this lease or its store does not invalidate the stream.
Exceptions
Section titled “Exceptions”Exception T:System.ObjectDisposedException: This lease has already released its pin.
Exception T:System.InvalidOperationException: The provider did not return a readable stream.