C# 클래스 System.Net.WebFileStream

상속: System.IO.FileStream
파일 보기 프로젝트 열기: dotnet/corefx 1 사용 예제들

공개 메소드들

메소드 설명
BeginRead ( byte buffer, int offset, int size, AsyncCallback callback, object state ) : IAsyncResult
BeginWrite ( byte buffer, int offset, int size, AsyncCallback callback, object state ) : IAsyncResult
CopyToAsync ( Stream destination, int bufferSize, CancellationToken cancellationToken ) : Task
EndRead ( IAsyncResult ar ) : int
EndWrite ( IAsyncResult ar ) : void
Read ( byte buffer, int offset, int size ) : int
ReadAsync ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task
WebFileStream ( FileWebRequest request, string path, FileMode mode, FileAccess access, FileShare sharing ) : System.IO
WebFileStream ( FileWebRequest request, string path, FileMode mode, FileAccess access, FileShare sharing, int length, bool async ) : System.IO
Write ( byte buffer, int offset, int size ) : void
WriteAsync ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
Abort ( ) : void
CheckAborted ( ) : void

메소드 상세

BeginRead() 공개 메소드

public BeginRead ( byte buffer, int offset, int size, AsyncCallback callback, object state ) : IAsyncResult
buffer byte
offset int
size int
callback AsyncCallback
state object
리턴 IAsyncResult

BeginWrite() 공개 메소드

public BeginWrite ( byte buffer, int offset, int size, AsyncCallback callback, object state ) : IAsyncResult
buffer byte
offset int
size int
callback AsyncCallback
state object
리턴 IAsyncResult

CopyToAsync() 공개 메소드

public CopyToAsync ( Stream destination, int bufferSize, CancellationToken cancellationToken ) : Task
destination System.IO.Stream
bufferSize int
cancellationToken System.Threading.CancellationToken
리턴 Task

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

EndRead() 공개 메소드

public EndRead ( IAsyncResult ar ) : int
ar IAsyncResult
리턴 int

EndWrite() 공개 메소드

public EndWrite ( IAsyncResult ar ) : void
ar IAsyncResult
리턴 void

Read() 공개 메소드

public Read ( byte buffer, int offset, int size ) : int
buffer byte
offset int
size int
리턴 int

ReadAsync() 공개 메소드

public ReadAsync ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task
buffer byte
offset int
count int
cancellationToken System.Threading.CancellationToken
리턴 Task

WebFileStream() 공개 메소드

public WebFileStream ( FileWebRequest request, string path, FileMode mode, FileAccess access, FileShare sharing ) : System.IO
request FileWebRequest
path string
mode FileMode
access FileAccess
sharing FileShare
리턴 System.IO

WebFileStream() 공개 메소드

public WebFileStream ( FileWebRequest request, string path, FileMode mode, FileAccess access, FileShare sharing, int length, bool async ) : System.IO
request FileWebRequest
path string
mode FileMode
access FileAccess
sharing FileShare
length int
async bool
리턴 System.IO

Write() 공개 메소드

public Write ( byte buffer, int offset, int size ) : void
buffer byte
offset int
size int
리턴 void

WriteAsync() 공개 메소드

public WriteAsync ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task
buffer byte
offset int
count int
cancellationToken System.Threading.CancellationToken
리턴 Task