C# 클래스 Microsoft.SqlServer.TDS.AutoTDSStream

Stream that wraps TDS stream with automatic dispatch
상속: Stream
파일 보기 프로젝트 열기: dotnet/corefx

공개 메소드들

메소드 설명
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