C# Class System.Net.FileWebRequest

Exibir arquivo Open project: dotnet/corefx Class Usage Examples

Private Properties

Property Type Description
CheckAndMarkAsyncGetRequestStreamPending void
CheckAndMarkAsyncGetResponsePending void
CreateRequestAbortedException System.Exception
CreateResponse WebResponse
CreateWriteStream System.Stream
FileWebRequest
FileWebRequest
FileWebRequest System.IO
FileWebRequest System.IO
ISerializable void
System void
UnblockReader void

Public Methods

Method Description
Abort ( ) : void
BeginGetRequestStream ( AsyncCallback callback, object state ) : IAsyncResult
BeginGetRequestStream ( System callback, object state ) : System.IAsyncResult
BeginGetResponse ( AsyncCallback callback, object state ) : IAsyncResult
BeginGetResponse ( System callback, object state ) : System.IAsyncResult
EndGetRequestStream ( IAsyncResult asyncResult ) : System.Stream
EndGetRequestStream ( System asyncResult ) : System.IO.Stream
EndGetResponse ( System asyncResult ) : System.Net.WebResponse
EndGetResponse ( IAsyncResult asyncResult ) : WebResponse
GetRequestStream ( ) : System.Stream
GetRequestStream ( ) : System.IO.Stream
GetRequestStreamAsync ( ) : Task
GetResponse ( ) : System.Net.WebResponse
GetResponse ( ) : WebResponse
GetResponseAsync ( ) : Task

Protected Methods

Method Description
GetObjectData ( SerializationInfo serializationInfo, StreamingContext streamingContext ) : void
GetObjectData ( System serializationInfo, System streamingContext ) : void

Private Methods

Method Description
CheckAndMarkAsyncGetRequestStreamPending ( ) : void
CheckAndMarkAsyncGetResponsePending ( ) : void
CreateRequestAbortedException ( ) : Exception
CreateResponse ( ) : WebResponse
CreateWriteStream ( ) : System.Stream
FileWebRequest ( )
FileWebRequest ( System serializationInfo, System streamingContext )
FileWebRequest ( SerializationInfo serializationInfo, StreamingContext streamingContext ) : System.IO
FileWebRequest ( Uri uri ) : System.IO
ISerializable ( SerializationInfo serializationInfo, StreamingContext streamingContext ) : void
System ( System serializationInfo, System streamingContext ) : void
UnblockReader ( ) : void

Method Details

Abort() public method

public Abort ( ) : void
return void

BeginGetRequestStream() public method

public BeginGetRequestStream ( AsyncCallback callback, object state ) : IAsyncResult
callback AsyncCallback
state object
return IAsyncResult

BeginGetRequestStream() public method

public BeginGetRequestStream ( System callback, object state ) : System.IAsyncResult
callback System
state object
return System.IAsyncResult

BeginGetResponse() public method

public BeginGetResponse ( AsyncCallback callback, object state ) : IAsyncResult
callback AsyncCallback
state object
return IAsyncResult

BeginGetResponse() public method

public BeginGetResponse ( System callback, object state ) : System.IAsyncResult
callback System
state object
return System.IAsyncResult

EndGetRequestStream() public method

public EndGetRequestStream ( IAsyncResult asyncResult ) : System.Stream
asyncResult IAsyncResult
return System.Stream

EndGetRequestStream() public method

public EndGetRequestStream ( System asyncResult ) : System.IO.Stream
asyncResult System
return System.IO.Stream

EndGetResponse() public method

public EndGetResponse ( System asyncResult ) : System.Net.WebResponse
asyncResult System
return System.Net.WebResponse

EndGetResponse() public method

public EndGetResponse ( IAsyncResult asyncResult ) : WebResponse
asyncResult IAsyncResult
return WebResponse

GetObjectData() protected method

protected GetObjectData ( SerializationInfo serializationInfo, StreamingContext streamingContext ) : void
serializationInfo SerializationInfo
streamingContext StreamingContext
return void

GetObjectData() protected method

protected GetObjectData ( System serializationInfo, System streamingContext ) : void
serializationInfo System
streamingContext System
return void

GetRequestStream() public method

public GetRequestStream ( ) : System.Stream
return System.Stream

GetRequestStream() public method

public GetRequestStream ( ) : System.IO.Stream
return System.IO.Stream

GetRequestStreamAsync() public method

public GetRequestStreamAsync ( ) : Task
return Task

GetResponse() public method

public GetResponse ( ) : System.Net.WebResponse
return System.Net.WebResponse

GetResponse() public method

public GetResponse ( ) : WebResponse
return WebResponse

GetResponseAsync() public method

public GetResponseAsync ( ) : Task
return Task