共用方式為


SessionStateProviderBaseContentReaderWriter Class

Definition

The content reader/writer for all providers deriving from SessionStateProviderBase.

public ref class SessionStateProviderBaseContentReaderWriter : IDisposable, System::Management::Automation::Provider::IContentReader, System::Management::Automation::Provider::IContentWriter
public class SessionStateProviderBaseContentReaderWriter : IDisposable, System.Management.Automation.Provider.IContentReader, System.Management.Automation.Provider.IContentWriter
type SessionStateProviderBaseContentReaderWriter = class
    interface IContentReader
    interface IDisposable
    interface IContentWriter
type SessionStateProviderBaseContentReaderWriter = class
    interface IDisposable
    interface IContentReader
    interface IContentWriter
Public Class SessionStateProviderBaseContentReaderWriter
Implements IContentReader, IContentWriter, IDisposable
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.

Applies to