C# Class System.Net.FileWebStream

Inheritance: System.IO.FileStream, ICloseEx
Show file Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Public Methods

Method Description
BeginRead ( byte buffer, int offset, int size, AsyncCallback callback, Object state ) : IAsyncResult
BeginWrite ( byte buffer, int offset, int size, AsyncCallback callback, Object state ) : IAsyncResult
EndRead ( IAsyncResult ar ) : int
EndWrite ( IAsyncResult ar ) : void
Read ( byte buffer, int offset, int size ) : int
Write ( byte buffer, int offset, int size ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
CheckError ( ) : void
FileWebStream ( FileWebRequest request, string path, FileMode mode, FileAccess access, FileShare sharing ) : System.IO
FileWebStream ( FileWebRequest request, string path, FileMode mode, FileAccess access, FileShare sharing, int length, bool async ) : System.IO
ICloseEx ( CloseExState closeState ) : void

Method Details

BeginRead() public method

public BeginRead ( byte buffer, int offset, int size, AsyncCallback callback, Object state ) : IAsyncResult
buffer byte
offset int
size int
callback AsyncCallback
state Object
return IAsyncResult

BeginWrite() public method

public BeginWrite ( byte buffer, int offset, int size, AsyncCallback callback, Object state ) : IAsyncResult
buffer byte
offset int
size int
callback AsyncCallback
state Object
return IAsyncResult

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

EndRead() public method

public EndRead ( IAsyncResult ar ) : int
ar IAsyncResult
return int

EndWrite() public method

public EndWrite ( IAsyncResult ar ) : void
ar IAsyncResult
return void

Read() public method

public Read ( byte buffer, int offset, int size ) : int
buffer byte
offset int
size int
return int

Write() public method

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