C# Class Microsoft.SqlServer.TDS.SessionState.TDSSessionStateOption

A single option of the session state
Inheritance: IDeflatable, IInflatable
Datei anzeigen Open project: dotnet/corefx Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Deflate ( Stream destination ) : void

Deflate state into the stream

Inflate ( Stream source ) : bool

Inflate from stream

TDSSessionStateOption ( byte stateID ) : System.IO

Initialization constructor

Protected Methods

Method Description
DeflateValue ( Stream destination, byte value ) : void

Write raw data

InflateValue ( Stream source ) : byte[]

Read the raw data but don't interpret it

Method Details

Deflate() public abstract method

Deflate state into the stream
public abstract Deflate ( Stream destination ) : void
destination System.IO.Stream
return void

DeflateValue() protected method

Write raw data
protected DeflateValue ( Stream destination, byte value ) : void
destination System.IO.Stream
value byte
return void

Inflate() public abstract method

Inflate from stream
public abstract Inflate ( Stream source ) : bool
source System.IO.Stream
return bool

InflateValue() protected method

Read the raw data but don't interpret it
protected InflateValue ( Stream source ) : byte[]
source System.IO.Stream
return byte[]

TDSSessionStateOption() public method

Initialization constructor
public TDSSessionStateOption ( byte stateID ) : System.IO
stateID byte
return System.IO