SessionStateProviderBaseContentReaderWriter Class

Definition

The content reader/writer for all providers deriving from SessionStateProviderBase

public class SessionStateProviderBaseContentReaderWriter : IDisposable, System.Management.Automation.Provider.IContentReader, System.Management.Automation.Provider.IContentWriter
Inheritance
SessionStateProviderBaseContentReaderWriter
Implements

Methods

Close()

Closes the reader. None of the derived providers need to close their reader so do nothing.

Dispose()

Closes the reader. None of the derived providers need to close their reader so do nothing.

Read(Int64)

Reads the content from the item

Seek(Int64, SeekOrigin)

None of the derived providers supports seeking for V1 so this always throws a NotSupportedException

Write(IList)

Writes content to the item.