C# Класс Microsoft.SqlServer.TDS.AutoTDSStream

Stream that wraps TDS stream with automatic dispatch
Наследование: Stream
Показать файл Открыть проект

Открытые методы

Метод Описание
AutoTDSStream ( TDSStream innerTDSStream ) : System

Initialization constructor

AutoTDSStream ( TDSStream innerTDSStream, bool closeInnerStream ) : System

Initialization constructor

Close ( ) : void

Close the stream

Flush ( ) : void

Flush the data into the underlying stream

Read ( byte buffer, int offset, int count ) : int

Read the data from the stream

Seek ( long offset, SeekOrigin origin ) : long

Seek position in the stream

SetLength ( long value ) : void

Set stream length

Write ( byte buffer, int offset, int count ) : void

Write data into the stream

Описание методов

AutoTDSStream() публичный Метод

Initialization constructor
public AutoTDSStream ( TDSStream innerTDSStream ) : System
innerTDSStream TDSStream
Результат System

AutoTDSStream() публичный Метод

Initialization constructor
public AutoTDSStream ( TDSStream innerTDSStream, bool closeInnerStream ) : System
innerTDSStream TDSStream
closeInnerStream bool
Результат System

Close() публичный Метод

Close the stream
public Close ( ) : void
Результат void

Flush() публичный Метод

Flush the data into the underlying stream
public Flush ( ) : void
Результат void

Read() публичный Метод

Read the data from the stream
public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
Результат int

Seek() публичный Метод

Seek position in the stream
public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
Результат long

SetLength() публичный Метод

Set stream length
public SetLength ( long value ) : void
value long
Результат void

Write() публичный Метод

Write data into the stream
public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
Результат void