C# 클래스 CmisSync.Lib.Streams.AbortableStream

Abortable stream wraps the given stream and add the possibility to abort the stream read and write by throwing an exception.
상속: NotifyPropertyChangedStream
파일 보기 프로젝트 열기: OpenDataSpace/CmisSync 1 사용 예제들

공개 메소드들

메소드 설명
Abort ( ) : void

Abort this instance.

AbortableStream ( Stream s ) : System

Initializes a new instance of the CmisSync.Lib.Streams.AbortableStream class.

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

Read the specified buffer, offset and count.

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

Write the specified buffer, offset and count.

메소드 상세

Abort() 공개 메소드

Abort this instance.
public Abort ( ) : void
리턴 void

AbortableStream() 공개 메소드

Initializes a new instance of the CmisSync.Lib.Streams.AbortableStream class.
public AbortableStream ( Stream s ) : System
s Stream Stream which should be abortable.
리턴 System

Read() 공개 메소드

Read the specified buffer, offset and count.
public Read ( byte buffer, int offset, int count ) : int
buffer byte /// Buffer. ///
offset int /// Offset. ///
count int /// Count. ///
리턴 int

Write() 공개 메소드

Write the specified buffer, offset and count.
public Write ( byte buffer, int offset, int count ) : void
buffer byte /// Buffer. ///
offset int /// Offset. ///
count int /// Count. ///
리턴 void